Commit dec41b55 authored by Martin Pool's avatar Martin Pool

Cope on systems without the whoami command.

parent be2961da
......@@ -139,12 +139,7 @@ echo "$0 running in `pwd`"
echo " rsync_bin=$rsync_bin"
echo " srcdir=$srcdir"
if testuser=`whoami`
then
:
else
testuser='(unknown)'
fi
testuser=`whoami || echo UNKNOWN`
echo " testuser=$testuser"
echo " os=`uname -a`"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment