mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Merge pull request #7819 from cvrebert/patch-3
salt/utils/verify.py: rm trailing whitespace
This commit is contained in:
commit
44ffa99681
@ -295,7 +295,7 @@ def check_user(user):
|
||||
os.initgroups(user, pwuser.pw_gid)
|
||||
else:
|
||||
os.setgroups([e.gr_gid for e in grp.getgrall()
|
||||
if user in e.gr_mem] + [pwuser.gid])
|
||||
if user in e.gr_mem] + [pwuser.gid])
|
||||
|
||||
except OSError:
|
||||
msg = 'Salt configured to run as user "{0}" but unable to switch.'
|
||||
|
Loading…
Reference in New Issue
Block a user