Remove fDaemon flag checking on return from main(), which is useless and looks really strange.

This commit is contained in:
Huang Le 2014-05-20 01:22:33 +08:00
parent aed38cbcb5
commit 0b78ba8ad6

View file

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