aboutsummaryrefslogtreecommitdiff
path: root/src/rpcclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rpcclient.cpp')
-rw-r--r--src/rpcclient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcclient.cpp b/src/rpcclient.cpp
index b89a95ad11..1a5b3f7412 100644
--- a/src/rpcclient.cpp
+++ b/src/rpcclient.cpp
@@ -234,7 +234,7 @@ int CommandLineRPC(int argc, char *argv[])
}
catch (std::exception& e) {
strPrint = string("error: ") + e.what();
- nRet = abs(RPC_MISC_ERROR);
+ nRet = EXIT_FAILURE;
}
catch (...) {
PrintExceptionContinue(NULL, "CommandLineRPC()");