mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 06:43:45 +01:00
force fDaemon in bitcoind
This commit is contained in:
3
init.cpp
3
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");
|
||||
|
||||
Reference in New Issue
Block a user