diff options
Diffstat (limited to 'source4/script')
-rwxr-xr-x | source4/script/tests/selftest.sh | 3 |
1 files changed, 3 insertions, 0 deletions
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 @@ -6,6 +6,9 @@ PASSWORD=penguin SRCDIR=`pwd` ROOT=$USER if test -z "$ROOT"; then + ROOT=$LOGNAME +fi +if test -z "$ROOT"; then ROOT=`whoami` fi |