mirror of
https://github.com/sshuttle/sshuttle.git
synced 2024-11-25 01:13:37 +01:00
fix is_admin_user() helper
This commit is contained in:
parent
b09cc4595b
commit
7da3b024dd
@ -233,4 +233,4 @@ def is_admin_user():
|
|||||||
except:
|
except:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
return os.getuid() != 0
|
return os.getuid() == 0
|
||||||
|
Loading…
Reference in New Issue
Block a user