1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2026-01-03 12:09:16 +00:00

[SSL] minor fix: prevent checking of empty SQL_DOMAIN

This commit is contained in:
Marcel Hofer
2019-10-19 18:23:59 +02:00
parent f702c67bdc
commit b413ed4013

View File

@@ -196,6 +196,10 @@ while true; do
exec $(readlink -f "$0")
fi
while read domains; do
if [[ -z "${domains}" ]]; then
# ignore empty lines
continue
fi
SQL_DOMAIN_ARR+=("${domains}")
done <<< "${SQL_DOMAINS}"