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 shift
fi fi
user=`whoami`
case $# in case $# in
0) 0)
user=`whoami` user=$USER
;; ;;
1) 1)
user=$1 user=$1