diff --git a/init.cpp b/init.cpp index 0548accb..f3ec28ba 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");