fixed unbound variable
This commit is contained in:
parent
ffb3ed9357
commit
9394eeeabd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue