mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-08-28 07:24:19 +00:00
call UnixDaemon::start for daemon mode
This commit is contained in:
@@ -189,9 +189,15 @@ namespace util
|
||||
alert->Go ();
|
||||
});
|
||||
}
|
||||
auto ret = Daemon_Singleton::start ();
|
||||
if (ret && app)
|
||||
app->CreateMainWindow ();
|
||||
bool ret = false;
|
||||
if (app)
|
||||
{
|
||||
ret = Daemon_Singleton::start ();
|
||||
if (ret)
|
||||
app->CreateMainWindow ();
|
||||
}
|
||||
else
|
||||
ret = DaemonUnix::start ();
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user