diff options
| author | Puru <[email protected]> | 2016-05-02 22:33:04 +0545 |
|---|---|---|
| committer | Puru <[email protected]> | 2016-05-02 22:33:04 +0545 |
| commit | 9a8a7d011564c43231d16e6e3a25c73f0c76fde1 (patch) | |
| tree | a428f976e28e82e5258c685d2c72313acdfeb444 /src/bitcoin-cli.cpp | |
| parent | Merge #7959: fix race that could fail to persist a ban (diff) | |
| download | discoin-9a8a7d011564c43231d16e6e3a25c73f0c76fde1.tar.xz discoin-9a8a7d011564c43231d16e6e3a25c73f0c76fde1.zip | |
bitcoin-cli.cpp: Use symbolic constant for exit code
Diffstat (limited to 'src/bitcoin-cli.cpp')
| -rw-r--r-- | src/bitcoin-cli.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoin-cli.cpp b/src/bitcoin-cli.cpp index 49935699f..a04101d3e 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 { |