Skip to content
This repository has been archived by the owner on Feb 1, 2021. It is now read-only.

Commit

Permalink
fixed ability to start coin in daemon mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-griffith committed Jun 21, 2017
1 parent 88439fa commit 6301467
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/daemon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ bool AppInit(int argc, char* argv[])
// InitError will have been called with detailed error, which ends up on console
exit(EXIT_FAILURE);
}
/*
if (GetBoolArg("-daemon", false))
{
#if HAVE_DECL_DAEMON
Expand All @@ -169,8 +170,10 @@ bool AppInit(int argc, char* argv[])
return false;
#endif // HAVE_DECL_DAEMON
}

*/
fRet = AppInit2();
if (fRet && fDaemon)
return 0;
}
catch (const std::exception& e) {
PrintExceptionContinue(&e, "AppInit()");
Expand Down

0 comments on commit 6301467

Please sign in to comment.