diff options
| author | Cozz Lovan <[email protected]> | 2014-02-24 14:08:56 +0100 |
|---|---|---|
| committer | Cozz Lovan <[email protected]> | 2014-02-26 13:12:47 +0100 |
| commit | a7199038042a79d24bce7e94a3984ad3e05be184 (patch) | |
| tree | e023e658248a11a45fd3c10960275b5b3747028e /src/rpcclient.cpp | |
| parent | Merge pull request #3742 from laanwj/2014_02_win32_protobuf_determinism (diff) | |
| download | discoin-a7199038042a79d24bce7e94a3984ad3e05be184.tar.xz discoin-a7199038042a79d24bce7e94a3984ad3e05be184.zip | |
Fix bitcoin-cli exit status code
Diffstat (limited to 'src/rpcclient.cpp')
| -rw-r--r-- | src/rpcclient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcclient.cpp b/src/rpcclient.cpp index c404ac274..0d1746b8c 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()"); |