fix is_admin_user() helper

This commit is contained in:
nom3ad 2022-09-07 12:26:21 +05:30 committed by Brian May
parent b09cc4595b
commit 7da3b024dd

View File

@ -233,4 +233,4 @@ def is_admin_user():
except:
return False
return os.getuid() != 0
return os.getuid() == 0