Skip to content

Commit 531499b

Browse files
authored
Merge pull request #2314 from Xatrekak/master
[Fix] an issue where the shell option in dialog failed to drop you back to bash.
2 parents 0e18762 + 7ad3afb commit 531499b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/welcome.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,8 @@ def display_loop(self):
438438
self.display.clear()
439439
if code == Dialog.OK:
440440
if tag == "Shell":
441-
os.execvp("bash", ['/bin/bash'])
441+
print("Type: 'welcome.py' to get back to the dialog menu.")
442+
sys.exit(0)
442443
elif tag == "Version":
443444
self.mode()
444445
elif tag == "Restore":

0 commit comments

Comments
 (0)