mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix for Bug #37118, the wrong parameter was being used to convert the
group name to group id.
This commit is contained in:
parent
4c07b3534a
commit
ba2105bc39
1 changed files with 1 additions and 1 deletions
|
@ -358,7 +358,7 @@ class GroupOption(Option):
|
|||
self.gids.add(int(name))
|
||||
else:
|
||||
try:
|
||||
self.gids.add(grp.getgrnam(value).gr_gid)
|
||||
self.gids.add(grp.getgrnam(name).gr_gid)
|
||||
except KeyError:
|
||||
raise ValueError('no such group "{0}"'.format(name))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue