summaryrefslogtreecommitdiffstats
path: root/usr.bin/id
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/id')
-rw-r--r--usr.bin/id/groups.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/id/groups.sh b/usr.bin/id/groups.sh
index 734fcb2..904f200 100644
--- a/usr.bin/id/groups.sh
+++ b/usr.bin/id/groups.sh
@@ -1,5 +1,4 @@
#!/bin/sh -
-exec id -Gn $*
#
# Copyright (c) 1991, 1993
# The Regents of the University of California. All rights reserved.
@@ -33,5 +32,8 @@ exec id -Gn $*
# SUCH DAMAGE.
#
# @(#)groups.sh 8.1 (Berkeley) 6/6/93
-#
+# $Id$
+
+PATH=/bin:/usr/bin; export PATH
+exec id -Gn -- "$@"
OpenPOWER on IntegriCloud