force fDaemon in bitcoind
This commit is contained in:
parent
a79409afa9
commit
ea7cd31751
3
init.cpp
3
init.cpp
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user