aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-05-04 11:33:36 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-05-04 11:33:53 +0200
commitda46f9fd665195e27c45286283fab1d53664a586 (patch)
tree52394ec803d9b1b03c32c69576c518458c34250b
parent88b77c7da0a672c89e24df37ea6e9085b4e2a05c (diff)
parent9a8a7d011564c43231d16e6e3a25c73f0c76fde1 (diff)
Merge #7989: bitcoin-cli.cpp: Use symbolic constant for exit code
9a8a7d0 bitcoin-cli.cpp: Use symbolic constant for exit code (Puru)
-rw-r--r--src/bitcoin-cli.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoin-cli.cpp b/src/bitcoin-cli.cpp
index 49935699fd..a04101d3ed 100644
--- a/src/bitcoin-cli.cpp
+++ b/src/bitcoin-cli.cpp
@@ -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 {