fix typo in group entry extraction
This commit is contained in:
parent
a915baa73b
commit
997fdd8ac4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue