From 75bc1d3488e398ff33c0c90d5caa2b23926a47d5 Mon Sep 17 00:00:00 2001 From: Shawn Chain Date: Fri, 9 Nov 2018 18:45:08 +0800 Subject: [PATCH] Don't check single instance under OpenWrt --- ircDDBGateway/IRCDDBGatewayAppD.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ircDDBGateway/IRCDDBGatewayAppD.cpp b/ircDDBGateway/IRCDDBGatewayAppD.cpp index df485e3..07d5d35 100644 --- a/ircDDBGateway/IRCDDBGatewayAppD.cpp +++ b/ircDDBGateway/IRCDDBGatewayAppD.cpp @@ -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);