fix typo in group entry extraction

This commit is contained in:
Philippe Grégoire 2017-08-20 15:13:01 -04:00
parent a915baa73b
commit 997fdd8ac4
No known key found for this signature in database
GPG key ID: A14AA6DA679C2177

View file

@ -26,7 +26,7 @@ if [ -f "$__object/parameter/gid" ]; then
if [ -x /usr/bin/getent ] || [ -x /bin/getent ]; then
getent group "$gid" || true
elif [ -f /etc/group ]; then
grep -E "^(${gid}|([^:]:){2}${gid}):" /etc/group || true
grep -E "^(${gid}|([^:]+:){2}${gid}):" /etc/group || true
fi
fi