aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2016-09-30 18:02:53 +0200
committerWladimir J. van der Laan <[email protected]>2016-09-30 18:19:31 +0200
commitfb24d7eeb47e6caeef7b4ce62a1c35130d42f67f (patch)
treeab18d1dc0bf05d05c6e283165b963f01681bd358 /src/init.cpp
parentMerge #8822: net: Consistent checksum handling (diff)
parentbitcoind: Daemonize using daemon(3) (diff)
downloaddiscoin-fb24d7eeb47e6caeef7b4ce62a1c35130d42f67f.tar.xz
discoin-fb24d7eeb47e6caeef7b4ce62a1c35130d42f67f.zip
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 cb8da06d6..cf9234795 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
}