summaryrefslogtreecommitdiffstats
path: root/usr.bin/id
diff options
context:
space:
mode:
authorwosch <wosch@FreeBSD.org>1996-11-05 07:22:47 +0000
committerwosch <wosch@FreeBSD.org>1996-11-05 07:22:47 +0000
commit5b9a9c84b81e2292ec4e052c7b90cf899acfc6f4 (patch)
tree4e51de6a3ec8cb13c7e3a861a178ee1730b89a61 /usr.bin/id
parent71d63a02b373422e26eafb46e95d985d043232ab (diff)
downloadFreeBSD-src-5b9a9c84b81e2292ec4e052c7b90cf899acfc6f4.zip
FreeBSD-src-5b9a9c84b81e2292ec4e052c7b90cf899acfc6f4.tar.gz
add PATH variable
better argument handling
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