diff options
-rwxr-xr-x | source4/script/tests/test_ldap.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/script/tests/test_ldap.sh b/source4/script/tests/test_ldap.sh index b3d44a639e..a457f527bd 100755 --- a/source4/script/tests/test_ldap.sh +++ b/source4/script/tests/test_ldap.sh @@ -10,7 +10,7 @@ fi # see if we support ldaps if grep HAVE_LIBGNUTLS.1 include/config.h > /dev/null && - grep tls.enabled.=yes $CONFFILE > /dev/null; then + test -n "$CONFFILE" && grep tls.enabled.=yes $CONFFILE > /dev/null; then PROTOCOLS="ldap ldaps" else PROTOCOLS="ldap" |