From 34700dd30bcdcf2a0abc951e05a2b2ed08914ec2 Mon Sep 17 00:00:00 2001 From: jayofelony Date: Sun, 17 Nov 2024 21:56:10 +0100 Subject: [PATCH] Update build Signed-off-by: jayofelony --- pwnagotchi/agent.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pwnagotchi/agent.py b/pwnagotchi/agent.py index 39cb7d23..6f6dbecf 100644 --- a/pwnagotchi/agent.py +++ b/pwnagotchi/agent.py @@ -98,8 +98,7 @@ class Agent(Client, Automata, AsyncAdvertiser): if has_mon is False: if mon_start_cmd is not None and mon_start_cmd != '': logging.info("starting monitor interface ...") - # self.run('!%s' % mon_start_cmd) - subprocess.Popen([mon_start_cmd], stdout=subprocess.PIPE, stderr=subprocess.PIPE) + self.run('!%s' % mon_start_cmd) else: logging.info("waiting for monitor interface %s ...", mon_iface) time.sleep(1)