diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-02-26 13:19:09 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-02-26 13:19:46 +0100 |
| commit | 3480bf7c650bb14a31020c3ef33e76edea650e13 (patch) | |
| tree | e023e658248a11a45fd3c10960275b5b3747028e /src/rpcclient.cpp | |
| parent | Merge pull request #3742 from laanwj/2014_02_win32_protobuf_determinism (diff) | |
| parent | Fix bitcoin-cli exit status code (diff) | |
| download | discoin-3480bf7c650bb14a31020c3ef33e76edea650e13.tar.xz discoin-3480bf7c650bb14a31020c3ef33e76edea650e13.zip | |
Merge pull request #3736
a719903 Fix bitcoin-cli exit status code (Cozz Lovan)
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()"); |