Fixed issue 504
This commit is contained in:
parent
968debbadc
commit
a8df07a362
|
@ -218,7 +218,7 @@ CArchAppUtilWindows::exitApp(int code)
|
||||||
|
|
||||||
int daemonNTMainLoopStatic(int argc, const char** argv)
|
int daemonNTMainLoopStatic(int argc, const char** argv)
|
||||||
{
|
{
|
||||||
return CArchAppUtil::instance().app().daemonMainLoop(argc, argv);
|
return CArchAppUtilWindows::instance().daemonNTMainLoop(argc, argv);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
|
@ -46,7 +46,11 @@ CApp::~CApp()
|
||||||
}
|
}
|
||||||
|
|
||||||
CApp::CArgsBase::CArgsBase() :
|
CApp::CArgsBase::CArgsBase() :
|
||||||
m_daemon(true),
|
#if SYSAPI_WIN32
|
||||||
|
m_daemon(false), // daemon mode not supported on windows (use --service)
|
||||||
|
#else
|
||||||
|
m_daemon(true), // backward compatibility for unix (daemon by default)
|
||||||
|
#endif
|
||||||
m_backend(false),
|
m_backend(false),
|
||||||
m_restartable(true),
|
m_restartable(true),
|
||||||
m_noHooks(false),
|
m_noHooks(false),
|
||||||
|
|
Loading…
Reference in New Issue