Skip to content

Commit da46f9f

Browse files
committed
Merge #7989: bitcoin-cli.cpp: Use symbolic constant for exit code
9a8a7d0 bitcoin-cli.cpp: Use symbolic constant for exit code (Puru)
2 parents 88b77c7 + 9a8a7d0 commit da46f9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bitcoin-cli.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ int main(int argc, char* argv[])
314314
SetupEnvironment();
315315
if (!SetupNetworking()) {
316316
fprintf(stderr, "Error: Initializing networking failed\n");
317-
exit(1);
317+
return EXIT_FAILURE;
318318
}
319319

320320
try {

0 commit comments

Comments
 (0)