From 3b45cb366f3be81241d3acdff88e64a9b3f9a3e1 Mon Sep 17 00:00:00 2001 From: Thomas Ronner Date: Thu, 17 Oct 2013 15:02:23 +0000 Subject: [PATCH] Fix illegal set operation in FreeBSD section of user module. --- system/user | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/user b/system/user index 2e47055b7e9..078d516003b 100644 --- a/system/user +++ b/system/user @@ -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