Small fixes

This commit is contained in:
Jeroen Oudshoorn
2024-01-17 18:22:57 +01:00
parent 63f0a761c1
commit 649e8a4222
3 changed files with 9 additions and 6 deletions

View File

@ -176,8 +176,12 @@ def pwnagotchi_cli():
os.system("rm /root/.auto-update && systemctl restart pwnagotchi")
os.system("systemctl restart pwnagotchi")
print("Okay, give me a couple minutes. Just watch pwnlog while you wait.")
print("Okay, guess not!")
print("You are currently on the latest release, v%s." % pwnagotchi.__version__)
elif user_input.lower() in ('n', 'no'):
print("Okay, guess not!")
else:
print("Invalid input.")
else:
print("You are currently on the latest release, v%s." % pwnagotchi.__version__)
sys.exit(0)
config = utils.load_config(args)