[SSL] minor fix: prevent checking of empty SQL_DOMAIN
parent
f702c67bdc
commit
b413ed4013
|
@ -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}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue