From 9394eeeabdcf6e684e3635209a128e6a42fbb5d2 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sun, 19 Jul 2020 13:08:33 +0200 Subject: [PATCH] fixed unbound variable --- lam-packaging/docker/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lam-packaging/docker/start.sh b/lam-packaging/docker/start.sh index 0f563daa..f1b21bd7 100755 --- a/lam-packaging/docker/start.sh +++ b/lam-packaging/docker/start.sh @@ -23,7 +23,7 @@ set -eu # unset variables are errors & non-zero return values exit the whole script [ "$DEBUG" ] && set -x -if [ "$LAM_DISABLE_TLS_CHECK" == "true" ]; then +if [ "${LAM_DISABLE_TLS_CHECK:-}" == "true" ]; then ln -s /etc/ldap/ldap.conf /etc/ldap.conf echo "TLS_REQCERT never" >> /etc/ldap/ldap.conf fi