mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-27 11:52:03 +00:00
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
|
shift
|
||||||
fi
|
fi
|
||||||
|
|
||||||
user=`whoami`
|
|
||||||
case $# in
|
case $# in
|
||||||
0)
|
0)
|
||||||
user=`whoami`
|
user=$USER
|
||||||
;;
|
;;
|
||||||
1)
|
1)
|
||||||
user=$1
|
user=$1
|
||||||
|
|
Loading…
Reference in a new issue