mirror of
https://github.com/sshuttle/sshuttle.git
synced 2024-11-21 23:43:18 +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:
|
||||
return False
|
||||
|
||||
return os.getuid() != 0
|
||||
return os.getuid() == 0
|
||||
|
Loading…
Reference in New Issue
Block a user