tuse $USER instead of whoami - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 78a9573fc61620d479f6e46230b9ebb6b5b449f2
DIR parent 86f09f87cba3e3eeaf4f0be15d463cfbefd64c0a
HTML Author: rsc <devnull@localhost>
Date: Tue, 4 Jan 2005 21:15:35 +0000
use $USER instead of whoami
Diffstat:
M bin/psu | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
DIR diff --git a/bin/psu b/bin/psu
t@@ -7,10 +7,9 @@ then
shift
fi
-user=`whoami`
case $# in
0)
- user=`whoami`
+ user=$USER
;;
1)
user=$1