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:
commit
da46f9fd66
|
@ -314,7 +314,7 @@ int main(int argc, char* argv[])
|
||||||
SetupEnvironment();
|
SetupEnvironment();
|
||||||
if (!SetupNetworking()) {
|
if (!SetupNetworking()) {
|
||||||
fprintf(stderr, "Error: Initializing networking failed\n");
|
fprintf(stderr, "Error: Initializing networking failed\n");
|
||||||
exit(1);
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue