From f293c2d16390deb9f001b7b8c6242ec0e969b879 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 18 Jul 2005 08:30:32 +0000 Subject: r8539: $LOGNAME is a common varient of $USER on some systems (This used to be commit e571d6a36bdf61aaab383e05c857347838de4c1d) --- source4/script/tests/selftest.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/script/tests/selftest.sh') diff --git a/source4/script/tests/selftest.sh b/source4/script/tests/selftest.sh index b947256738..6579623e2c 100755 --- a/source4/script/tests/selftest.sh +++ b/source4/script/tests/selftest.sh @@ -5,6 +5,9 @@ REALM=$DOMAIN PASSWORD=penguin SRCDIR=`pwd` ROOT=$USER +if test -z "$ROOT"; then + ROOT=$LOGNAME +fi if test -z "$ROOT"; then ROOT=`whoami` fi -- cgit