Fix illegal set operation in FreeBSD section of user module.
This commit is contained in:
parent
f8b4f59113
commit
3b45cb366f
1 changed files with 1 additions and 1 deletions
|
@ -745,7 +745,7 @@ class FreeBsdUser(User):
|
|||
cmd.append('-G')
|
||||
new_groups = groups
|
||||
if self.append:
|
||||
new_groups.extend(current_groups)
|
||||
new_groups = groups | set(current_groups)
|
||||
cmd.append(','.join(new_groups))
|
||||
|
||||
# modify the user if cmd will do anything
|
||||
|
|
Loading…
Reference in a new issue