Skip to content

Commit

Permalink
Merge pull request #2314 from Xatrekak/master
Browse files Browse the repository at this point in the history
[Fix] an issue where the shell option in dialog failed to drop you back to bash.
  • Loading branch information
grossmj authored Nov 6, 2023
2 parents 0e18762 + 7ad3afb commit 531499b
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 531499b

Please sign in to comment.