Skip to content

Commit

Permalink
Update welcome.py
Browse files Browse the repository at this point in the history
Fixed an issue where the shell option in dialog failed to drop you back to bash.
  • Loading branch information
Xatrekak authored Nov 5, 2023
1 parent 0e18762 commit 7ad3afb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/welcome.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,8 @@ def display_loop(self):
self.display.clear()
if code == Dialog.OK:
if tag == "Shell":
os.execvp("bash", ['/bin/bash'])
print("Type: 'welcome.py' to get back to the dialog menu.")
sys.exit(0)
elif tag == "Version":
self.mode()
elif tag == "Restore":
Expand Down

0 comments on commit 7ad3afb

Please sign in to comment.