1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-10-31 20:58:56 +00:00

Merge pull request #2314 from Xatrekak/master

[Fix] an issue where the shell option in dialog failed to drop you back to bash.
This commit is contained in:
Jeremy Grossmann 2023-11-06 13:01:35 +10:00 committed by GitHub
commit 531499bbfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -438,7 +438,8 @@ Images and projects are located in /opt/gns3
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":