From b413ed4013389995f77f281a663b6ab11c7a30f4 Mon Sep 17 00:00:00 2001 From: Marcel Hofer Date: Sat, 19 Oct 2019 18:23:59 +0200 Subject: [PATCH] [SSL] minor fix: prevent checking of empty SQL_DOMAIN --- data/Dockerfiles/acme/acme.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/Dockerfiles/acme/acme.sh b/data/Dockerfiles/acme/acme.sh index 9efaa92b..9f1904f5 100755 --- a/data/Dockerfiles/acme/acme.sh +++ b/data/Dockerfiles/acme/acme.sh @@ -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}"