diff options
author | Alex Tu <alex.tu@canonical.com> | 2020-04-13 17:26:39 +0800 |
---|---|---|
committer | Alex Tu <alex.tu@canonical.com> | 2020-04-13 17:26:39 +0800 |
commit | 5bdb4e84187e541dec858b858652ecb5b14f7bbf (patch) | |
tree | 52420ac64c80475a65d33e26afd629ca99e73ad3 /bin | |
parent | b9e4bde5a30bd7411024a7d13c7c8a9a0b5f56dd (diff) |
it should be a typo from 6f896de9 which break functionality
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pm_test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pm_test b/bin/pm_test index 3dcdf28..066f757 100755 --- a/bin/pm_test +++ b/bin/pm_test @@ -39,7 +39,7 @@ def main(): username = os.getenv('NORMAL_USER') if not username: uid = os.getenv('SUDO_UID') or os.getenv('PKEXEC_UID') - if not uid:q + if not uid: sys.stderr.write('Unable to determine invoking user\n') sys.exit(1) username = pwd.getpwuid(int(uid)).pw_name |