mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-06-20 09:57:42 +02:00
ui-macos: tell the user that we need to reboot on MacOS Lion.
This commit is contained in:
parent
bd20841782
commit
d9f761a8a3
@ -78,6 +78,11 @@ class Runner:
|
||||
if pid == self.pid:
|
||||
if os.WIFEXITED(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:
|
||||
self.rv = -os.WSTOPSIG(code)
|
||||
self.serverobj.setConnected_(False)
|
||||
|
Loading…
x
Reference in New Issue
Block a user