Skip to content

Commit d9f761a

Browse files
committed
ui-macos: tell the user that we need to reboot on MacOS Lion.
1 parent bd20841 commit d9f761a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ui-macos/main.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@ def _try_wait(self, options):
7878
if pid == self.pid:
7979
if os.WIFEXITED(code):
8080
self.rv = os.WEXITSTATUS(code)
81+
if self.rv == 111:
82+
NSRunAlertPanel('Sshuttle',
83+
'Please restart your computer to finish '
84+
'installing Sshuttle.',
85+
'Restart Later', None, None)
8186
else:
8287
self.rv = -os.WSTOPSIG(code)
8388
self.serverobj.setConnected_(False)

0 commit comments

Comments
 (0)