mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 09:18:08 +00:00
Update welcome.py
Fixed an issue where the shell option in dialog failed to drop you back to bash.
This commit is contained in:
parent
6455f62447
commit
8d35089661
@ -438,7 +438,8 @@ Images and projects are located in /opt/gns3
|
|||||||
self.display.clear()
|
self.display.clear()
|
||||||
if code == Dialog.OK:
|
if code == Dialog.OK:
|
||||||
if tag == "Shell":
|
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":
|
elif tag == "Version":
|
||||||
self.mode()
|
self.mode()
|
||||||
elif tag == "Restore":
|
elif tag == "Restore":
|
||||||
|
Loading…
Reference in New Issue
Block a user