diff --git a/src/main.js b/src/main.js index 2c5f785..e7a732e 100644 --- a/src/main.js +++ b/src/main.js @@ -71,7 +71,8 @@ if(errorMsg){ logger.debug("Attaching error-logger.."); const loggerTcpdump = logFactory("tcpdump"); proc.stderr.setEncoding("utf8").on("data", (data) => { - loggerTcpdump.error(data); + if(!data.match(/^(tcpdump: )?listening on /i)) // Catch start-error + loggerTcpdump.error(data); }); logger.debug("Attaching exit-handler..");