From 287e926cdf00014835f23b37dab5961e59ab1067 Mon Sep 17 00:00:00 2001 From: Jeroen Oudshoorn Date: Tue, 5 Sep 2023 21:05:36 +0200 Subject: [PATCH] Version 2.2.9: Signed-off-by: Jeroen Oudshoorn --- bin/pwnagotchi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/pwnagotchi b/bin/pwnagotchi index 775ef43e..6e77a5ae 100755 --- a/bin/pwnagotchi +++ b/bin/pwnagotchi @@ -133,6 +133,7 @@ if __name__ == '__main__': if args.donate: print("Donations can made @ https://www.patreon.com/pwnagotchi_torch \n\nBut only if you really want to!") + sys.exit(0) if args.check_update: resp = requests.get("https://api.github.com/repos/jayofelony/pwnagotchi/releases/latest") @@ -150,6 +151,7 @@ if __name__ == '__main__': print("Okay, guess not!") else: print("You are currently on the latest release, %s." % pwnagotchi.__version__) + sys.exit(0) if args.version: print(pwnagotchi.__version__)