Merge #7989: bitcoin-cli.cpp: Use symbolic constant for exit code

9a8a7d0 bitcoin-cli.cpp: Use symbolic constant for exit code (Puru)
This commit is contained in:
Wladimir J. van der Laan 2016-05-04 11:33:36 +02:00
commit da46f9fd66
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6

View File

@ -314,7 +314,7 @@ int main(int argc, char* argv[])
SetupEnvironment();
if (!SetupNetworking()) {
fprintf(stderr, "Error: Initializing networking failed\n");
exit(1);
return EXIT_FAILURE;
}
try {