Commit b725361b by Michael DeHaan

Merge pull request #4560 from tronner/issue4461

Fix illegal set operation in FreeBSD section of user module.
parents 2b785ec7 aee68511
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment