`ninja all check-all`
```
$ src/bitcoind -daemon
Bitcoin ABC starting
$ src/bitcoin-cli stop
Bitcoin ABC stopping
$ src/bitcoind -daemonwait
Bitcoin ABC starting
$ src/bitcoin-cli stop
Bitcoin ABC stopping
```
Try again with an init failure:
```
$ git diff
diff --git a/src/init.cpp b/src/init.cpp
index 676e7de472..05fa480ab5 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -2858,6 +2858,8 @@ bool AppInitMain(Config &config, RPCServer &rpcServer,
}
} while (false);
+ return InitError(_("Fake failure"));
+
if (!fLoaded && !ShutdownRequested()) {
// first suggest a reindex
if (!fReset) {
$ src/bitcoind -daemon
Bitcoin ABC starting
$ src/bitcoin-cli stop
error: Could not connect to the server 127.0.0.1:8332
Make sure the bitcoind server is running and that you are connecting to the correct RPC port.
$ src/bitcoind -daemonwait
Bitcoin ABC starting
Error during initializaton - check debug.log for details
0
```