aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-09-30 18:02:53 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-09-30 18:19:31 +0200
commitfb24d7eeb47e6caeef7b4ce62a1c35130d42f67f (patch)
treeab18d1dc0bf05d05c6e283165b963f01681bd358 /src/init.cpp
parent9bc6a6bd7b0ddb12cbafdd6d3b70fb6b10c0d2ba (diff)
parenta92bf4af66f8b5a2e6bc28baa6670065ce76daf2 (diff)
Merge #8813: bitcoind: Daemonize using daemon(3)
a92bf4a bitcoind: Daemonize using daemon(3) (Matthew King)
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 cb8da06d64..cf92347952 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -324,7 +324,7 @@ std::string HelpMessage(HelpMessageMode mode)
strUsage += HelpMessageOpt("-conf=<file>", strprintf(_("Specify configuration file (default: %s)"), BITCOIN_CONF_FILENAME));
if (mode == HMM_BITCOIND)
{
-#ifndef WIN32
+#if HAVE_DECL_DAEMON
strUsage += HelpMessageOpt("-daemon", _("Run in the background as a daemon and accept commands"));
#endif
}