4441018 Every main()/exit() should return/use one of EXIT_ codes instead of magic numbers (UdjinM6)
bd0de13 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` (UdjinM6)
QMessageBox::critical(0,"Runaway exception",BitcoinGUI::tr("A fatal error occurred. Bitcoin can no longer continue safely and will quit.")+QString("\n\n")+message);
::exit(1);
::exit(EXIT_FAILURE);
}
WIdBitcoinApplication::getMainWinId()const
@ -573,13 +573,13 @@ int main(int argc, char *argv[])
@@ -573,13 +573,13 @@ int main(int argc, char *argv[])