mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
Merge pull request #4197
0b78ba8
Remove fDaemon flag checking on return from main(), which is useless and looks really strange. (Huang Le)
This commit is contained in:
commit
9d97e83bf6
@ -174,15 +174,8 @@ int main(int argc, char* argv[])
|
|||||||
{
|
{
|
||||||
SetupEnvironment();
|
SetupEnvironment();
|
||||||
|
|
||||||
bool fRet = false;
|
|
||||||
|
|
||||||
// Connect bitcoind signal handlers
|
// Connect bitcoind signal handlers
|
||||||
noui_connect();
|
noui_connect();
|
||||||
|
|
||||||
fRet = AppInit(argc, argv);
|
return (AppInit(argc, argv) ? 0 : 1);
|
||||||
|
|
||||||
if (fRet && fDaemon)
|
|
||||||
return 0;
|
|
||||||
|
|
||||||
return (fRet ? 0 : 1);
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user