aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-03-16 10:48:26 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-03-16 10:48:26 +0200
commit4d008f908e18abee9513560e36a92a0e97c65d68 (patch)
tree365e95f0402c22b77f7fc675b39030aed964359e
parent8e6532053f580003869346510fc1dc20c46c8067 (diff)
Always add -daemonwait to known command line arguments
-rw-r--r--src/init.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp
index b91a94bc25..d51f050f04 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -585,6 +585,7 @@ void SetupServerArgs(NodeContext& node)
argsman.AddArg("-daemonwait", strprintf("Wait for initialization to be finished before exiting. This implies -daemon (default: %d)", DEFAULT_DAEMONWAIT), ArgsManager::ALLOW_BOOL, OptionsCategory::OPTIONS);
#else
hidden_args.emplace_back("-daemon");
+ hidden_args.emplace_back("-daemonwait");
#endif
// Add the hidden options