aboutsummaryrefslogtreecommitdiff
path: root/src/rpcclient.cpp
diff options
context:
space:
mode:
authorCozz Lovan <cozzlovan@yahoo.com>2014-02-24 14:08:56 +0100
committerCozz Lovan <cozzlovan@yahoo.com>2014-02-26 13:12:47 +0100
commita7199038042a79d24bce7e94a3984ad3e05be184 (patch)
treee023e658248a11a45fd3c10960275b5b3747028e /src/rpcclient.cpp
parent34b9ea7db1831a1c9bde58222f7cd53053e784c4 (diff)
Fix bitcoin-cli exit status code
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 c404ac274b..0d1746b8ca 100644
--- a/src/rpcclient.cpp
+++ b/src/rpcclient.cpp
@@ -233,7 +233,7 @@ int CommandLineRPC(int argc, char *argv[])
}
catch (std::exception& e) {
strPrint = string("error: ") + e.what();
- nRet = 87;
+ nRet = abs(RPC_MISC_ERROR);
}
catch (...) {
PrintException(NULL, "CommandLineRPC()");