diff options
Diffstat (limited to 'tests/group-names')
-rw-r--r-- | tests/group-names | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/group-names b/tests/group-names index 5dae7943a..2bd22b42d 100644 --- a/tests/group-names +++ b/tests/group-names @@ -2,7 +2,7 @@ # Set `groups' to a space-separated list of at least two groups of which # the user is a member. -groups=${FETISH_GROUPS-`(id -nG || /usr/xpg4/bin/id -nG) 2>/dev/null`} +groups=${FETISH_GROUPS-`(id -G || /usr/xpg4/bin/id -G) 2>/dev/null`} case "$groups" in *' '*) ;; *) cat <<EOF 1>&2 |