Преглед изворни кода

Fixed addtogroups not adding users to posix groups

theo пре 2 година
родитељ
комит
d4d0c6f77c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      addtogroups

+ 1 - 1
addtogroups

@@ -30,7 +30,7 @@ shift
 for g in $@; do
     if group_exists $g ; then
 	if group_is_posix $g; then
-		user_is_posix $uid || echo "User $uid is not a posixAccount, skipping posixGroup $g..." && continue
+		user_is_posix $uid || { echo "User $uid is not a posixAccount, skipping posixGroup $g..." && continue; }
 		group="$group_posix"
 	else
 		group="$group_ofnames"