aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-01-04 21:15:35 +0000
committerrsc <devnull@localhost>2005-01-04 21:15:35 +0000
commit78a9573fc61620d479f6e46230b9ebb6b5b449f2 (patch)
treebbbd1f8c3972e44d10850e263178485c09794ca0 /bin
parent86f09f87cba3e3eeaf4f0be15d463cfbefd64c0a (diff)
downloadplan9port-78a9573fc61620d479f6e46230b9ebb6b5b449f2.tar.gz
plan9port-78a9573fc61620d479f6e46230b9ebb6b5b449f2.tar.bz2
plan9port-78a9573fc61620d479f6e46230b9ebb6b5b449f2.zip
use $USER instead of whoami
Diffstat (limited to 'bin')
-rwxr-xr-xbin/psu3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/psu b/bin/psu
index da6d8d45..b337a8c4 100755
--- a/bin/psu
+++ b/bin/psu
@@ -7,10 +7,9 @@ then
shift
fi
-user=`whoami`
case $# in
0)
- user=`whoami`
+ user=$USER
;;
1)
user=$1