[SSL] minor fix: prevent checking of empty SQL_DOMAIN

master
Marcel Hofer 2019-10-19 18:23:59 +02:00
parent f702c67bdc
commit b413ed4013
1 changed files with 4 additions and 0 deletions

View File

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