mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-18 19:50:35 +02:00
prevent subscription menu from exiting to terminal on cancel
This commit is contained in:
@@ -271,7 +271,7 @@ def main():
|
|||||||
The IP2TOR service just makes sense if you run
|
The IP2TOR service just makes sense if you run
|
||||||
your RaspiBlitz behind TOR.
|
your RaspiBlitz behind TOR.
|
||||||
''', title="Info")
|
''', title="Info")
|
||||||
sys.exit(1)
|
sys.exit(0)
|
||||||
|
|
||||||
os.system("clear")
|
os.system("clear")
|
||||||
print("please wait ..")
|
print("please wait ..")
|
||||||
@@ -405,7 +405,7 @@ def main():
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(e)
|
print(e)
|
||||||
time.sleep(3)
|
time.sleep(3)
|
||||||
sys.exit(1)
|
sys.exit(0)
|
||||||
|
|
||||||
# run creating a new IP2TOR subscription
|
# run creating a new IP2TOR subscription
|
||||||
os.system("clear")
|
os.system("clear")
|
||||||
|
Reference in New Issue
Block a user