mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-07-03 08:11:17 +02:00
fix is_admin_user() helper
This commit is contained in:
@ -233,4 +233,4 @@ def is_admin_user():
|
||||
except:
|
||||
return False
|
||||
|
||||
return os.getuid() != 0
|
||||
return os.getuid() == 0
|
||||
|
Reference in New Issue
Block a user