mirror of
https://github.com/debauchee/barrier.git
synced 2025-06-20 03:31:40 +02:00
Fixed issue 497
This commit is contained in:
parent
749a4140f3
commit
f3e4c6dede
2 changed files with 14 additions and 10 deletions
|
@ -128,15 +128,6 @@ CServerApp::parseArgs(int argc, const char* const* argv)
|
|||
m_bye(kExitArgs);
|
||||
}
|
||||
|
||||
#if SYSAPI_WIN32
|
||||
// if user wants to run as daemon, but process not launched from service launcher...
|
||||
if (args().m_daemon && !CArchMiscWindows::wasLaunchedAsService()) {
|
||||
LOG((CLOG_ERR "cannot launch as daemon if process not started through "
|
||||
"service host (use '--service start' argument instead)"));
|
||||
m_bye(kExitArgs);
|
||||
}
|
||||
#endif
|
||||
|
||||
// set log filter
|
||||
if (!CLOG->setFilter(args().m_logFilter)) {
|
||||
LOG((CLOG_PRINT "%s: unrecognized log level `%s'" BYE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue