aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Scripts/do-users-groups.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Mk/Scripts/do-users-groups.sh')
-rw-r--r--Mk/Scripts/do-users-groups.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Scripts/do-users-groups.sh b/Mk/Scripts/do-users-groups.sh
index e45047fc65a3..a01f4b9ddf66 100644
--- a/Mk/Scripts/do-users-groups.sh
+++ b/Mk/Scripts/do-users-groups.sh
@@ -139,7 +139,7 @@ if [ -n "${USERS}" ]; then
/|/nonexistent|/var/empty)
;;
*)
- group=$(awk -F: -v gid=${gid} '$3 == gid { print $1 }' ${dp_GID_FILES})
+ group=$(awk -F: -v gid=${gid} '$1 !~ /^#/ && $3 == gid { print $1 }' ${dp_GID_FILES})
echo "${dp_INSTALL} -d -g $group -o $login $homedir" >> "${dp_UG_INSTALL}"
;;
esac