X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/53e1f937bc8fdfdf4caa1ec9e10101bee3d67d99..dec41b556bf900e8f24e726a93a534371a007a54:/runtests.sh diff --git a/runtests.sh b/runtests.sh index 50f4c8bc..397e1a01 100755 --- a/runtests.sh +++ b/runtests.sh @@ -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`"