mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-08-16 11:37:52 +02:00
ui-macos: tell the user that we need to reboot on MacOS Lion.
This commit is contained in:
@ -78,6 +78,11 @@ class Runner:
|
|||||||
if pid == self.pid:
|
if pid == self.pid:
|
||||||
if os.WIFEXITED(code):
|
if os.WIFEXITED(code):
|
||||||
self.rv = os.WEXITSTATUS(code)
|
self.rv = os.WEXITSTATUS(code)
|
||||||
|
if self.rv == 111:
|
||||||
|
NSRunAlertPanel('Sshuttle',
|
||||||
|
'Please restart your computer to finish '
|
||||||
|
'installing Sshuttle.',
|
||||||
|
'Restart Later', None, None)
|
||||||
else:
|
else:
|
||||||
self.rv = -os.WSTOPSIG(code)
|
self.rv = -os.WSTOPSIG(code)
|
||||||
self.serverobj.setConnected_(False)
|
self.serverobj.setConnected_(False)
|
||||||
|
Reference in New Issue
Block a user