aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2017-12-05 10:39:44 -0500
committerMatt Corallo <git@bluematt.me>2017-12-05 10:39:44 -0500
commit07c483895d219d4c44bd8fec5167a53f4701c364 (patch)
treecaff3d8e538aa88bf7419e704c9af6235c33a1b6 /src/init.cpp
parent91eeaa03354bbb4ee79d6defaffaef2b32ecbe29 (diff)
Always return true if AppInitMain got to the end
This should fix a very rare travis failure in zapwallettxes, but is also more correct, as you can currently race ReacceptWalletTransactions with stop RPC calls to get bitcoind to (IMO) eroneously return a non-0 exit code.
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 871a585267..ae60999034 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -1726,5 +1726,5 @@ bool AppInitMain(boost::thread_group& threadGroup, CScheduler& scheduler)
StartWallets(scheduler);
#endif
- return !fRequestShutdown;
+ return true;
}