aboutsummaryrefslogtreecommitdiff
path: root/init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'init.cpp')
-rw-r--r--init.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/init.cpp b/init.cpp
index 0548accb05..f3ec28ba3d 100644
--- a/init.cpp
+++ b/init.cpp
@@ -199,9 +199,10 @@ bool AppInit2(int argc, char* argv[])
else
fServer = GetBoolArg("-server");
- /* force fServer when running without GUI */
+ /* force fServer and fDaemon when running without GUI */
#ifndef GUI
fServer = true;
+ fDaemon = true;
#endif
fPrintToConsole = GetBoolArg("-printtoconsole");