diff options
author | Avery Pennarun <apenwarr@gmail.com> | 2012-01-08 19:16:05 -0500 |
---|---|---|
committer | Avery Pennarun <apenwarr@gmail.com> | 2012-01-08 19:16:05 -0500 |
commit | d5c3aa61b8b77d3b12647bb15a83ba51a5f4d312 (patch) | |
tree | f2be45bae2de7bf76bd25e3120228747372452c9 /Sshuttle VPN.app/Contents/Resources/sshuttle/helpers.py | |
parent | 5b57de24041a4c184197fa369859dcaf95c1bdf4 (diff) |
MacOS precompiled app package for sshuttle-0.60sshuttle-0.60-macos-bin
Diffstat (limited to 'Sshuttle VPN.app/Contents/Resources/sshuttle/helpers.py')
-rw-r--r-- | Sshuttle VPN.app/Contents/Resources/sshuttle/helpers.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Sshuttle VPN.app/Contents/Resources/sshuttle/helpers.py b/Sshuttle VPN.app/Contents/Resources/sshuttle/helpers.py index c169d0c..45a028b 100644 --- a/Sshuttle VPN.app/Contents/Resources/sshuttle/helpers.py +++ b/Sshuttle VPN.app/Contents/Resources/sshuttle/helpers.py @@ -1,4 +1,4 @@ -import sys, os, socket +import sys, os, socket, errno logprefix = '' verbose = 0 @@ -30,6 +30,11 @@ class Fatal(Exception): pass +EXITCODE_NEEDS_REBOOT = 111 +class FatalNeedsReboot(Fatal): + pass + + def list_contains_any(l, sub): for i in sub: if i in l: |