1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-02-17 21:02:25 +02:00

Try /usr/xpg4/bin/id (Solaris 7) if plain 'id' doesn't work.

This commit is contained in:
Jim Meyering
2000-12-29 08:58:25 +00:00
parent 9f0489df43
commit de577f3440

View File

@@ -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 2>/dev/null`}
groups=${FETISH_GROUPS-`(id -nG || /usr/xpg4/bin/id -nG) 2>/dev/null`}
case "$groups" in
*' '*) ;;
*) cat <<EOF 1>&2