From a681bbd2d296aae2a08b15a630da147d41f9ad28 Mon Sep 17 00:00:00 2001 From: Ruakij Date: Mon, 29 Nov 2021 13:11:11 +0100 Subject: [PATCH] Removed sudo as container runs as root anyways --- src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index 3726245..9e6fd77 100644 --- a/src/main.js +++ b/src/main.js @@ -56,7 +56,7 @@ if(errorMsg){ logger.info("Starting tcpdump.."); const TCPDUMP_BASECMD = "tcpdump -vvv -e -n -X -s0 -i" - let cmd = `sudo ${TCPDUMP_BASECMD} ${env.WIFI_INTERFACE}`; + let cmd = `${TCPDUMP_BASECMD} ${env.WIFI_INTERFACE}`; let proc = exec(cmd); logger.debug("Creating & Attaching streams..");