Don't check single instance under OpenWrt

This commit is contained in:
Shawn Chain 2018-11-09 18:45:08 +08:00
parent 8b70ae399d
commit 75bc1d3488

View file

@ -199,6 +199,7 @@ bool CIRCDDBGatewayAppD::init()
new wxLogNull;
}
#if !defined(OPENWRT) || OPENWRT != 1
wxString appName;
if (!m_name.IsEmpty())
appName = APPLICATION_NAME + wxT(" ") + m_name;
@ -212,6 +213,7 @@ bool CIRCDDBGatewayAppD::init()
wxLogError(wxT("Another copy of the ircDDB Gateway is running, exiting"));
return false;
}
#endif
wxLogInfo(wxT("Starting ") + APPLICATION_NAME + wxT(" daemon - ") + VERSION);