@ -174,15 +174,8 @@ int main(int argc, char* argv[])
{
SetupEnvironment();
bool fRet = false;
// Connect bitcoind signal handlers
noui_connect();
fRet = AppInit(argc, argv);
return (AppInit(argc, argv) ? 0 : 1);
if (fRet && fDaemon)
return 0;
return (fRet ? 0 : 1);
}