Skip to content

Commit

Permalink
bitcoin-cli.cpp: Use symbolic constant for exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
tuladhar authored and str4d committed Apr 13, 2018
1 parent 5e39c5a commit e8f5b02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bitcoin-cli.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ int main(int argc, char* argv[])
SetupEnvironment();
if (!SetupNetworking()) {
fprintf(stderr, "Error: Initializing networking failed\n");
exit(1);
return EXIT_FAILURE;
}

try {
Expand Down

0 comments on commit e8f5b02

Please sign in to comment.