HomePhabricator

Fix exit codes: - `--help`, `--version` etc should exit with `0` i.e. no error…
bd0de1386e1cUnpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

Fix exit codes: - --help, --version etc should exit with 0 i.e. no error ("not enough args" case should still trigger an error) - error reading config file should exit with 1

Slightly refactor AppInitRPC/AppInitRawTx to return standard exit codes (EXIT_FAILURE/EXIT_SUCCESS) or CONTINUE_EXECUTION (-1)

Details

Provenance
UdjinM6 <UdjinM6@dash.org>Authored on Nov 2 2016, 18:59
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGINGa4fd8dff6836: Merge #8828: Move CWalletDB::ReorderTransactions to CWallet
Branches
Unknown
Tags
Unknown