tuse $USER instead of whoami - plan9port - [fork] Plan 9 from user space
git clone git://src.adamsgaard.dk/plan9port
Log
Files
Refs
README
LICENSE
---
commit 78a9573fc61620d479f6e46230b9ebb6b5b449f2
parent 86f09f87cba3e3eeaf4f0be15d463cfbefd64c0a
Author: rsc 
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(-)
---
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