force fDaemon in bitcoind

This commit is contained in:
tcatm 2011-03-03 22:31:44 +01:00
parent a79409afa9
commit ea7cd31751
1 changed files with 2 additions and 1 deletions

View File

@ -199,9 +199,10 @@ bool AppInit2(int argc, char* argv[])
else else
fServer = GetBoolArg("-server"); fServer = GetBoolArg("-server");
/* force fServer when running without GUI */ /* force fServer and fDaemon when running without GUI */
#ifndef GUI #ifndef GUI
fServer = true; fServer = true;
fDaemon = true;
#endif #endif
fPrintToConsole = GetBoolArg("-printtoconsole"); fPrintToConsole = GetBoolArg("-printtoconsole");