Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2023-09-18 09:26:50 +02:00
parent 5f3b8ef68c
commit e8e607973b
2 changed files with 1 additions and 14 deletions

View File

@ -99,7 +99,7 @@ class Client(object):
except OSError:
sleep_time = min_sleep + max_sleep*random.random()
logging.warning('connection to the bettercap endpoint failed...')
pwnagotchi.restart("AUTO")
pwnagotchi.reboot()
continue
def run(self, command, verbose_errors=True):