use $USER instead of whoami
This commit is contained in:
parent
86f09f87cb
commit
78a9573fc6
1 changed files with 1 additions and 2 deletions
3
bin/psu
3
bin/psu
|
|
@ -7,10 +7,9 @@ then
|
|||
shift
|
||||
fi
|
||||
|
||||
user=`whoami`
|
||||
case $# in
|
||||
0)
|
||||
user=`whoami`
|
||||
user=$USER
|
||||
;;
|
||||
1)
|
||||
user=$1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue