use $USER instead of whoami

This commit is contained in:
rsc 2005-01-04 21:15:35 +00:00
parent 86f09f87cb
commit 78a9573fc6

View file

@ -7,10 +7,9 @@ then
shift
fi
user=`whoami`
case $# in
0)
user=`whoami`
user=$USER
;;
1)
user=$1