Browse Source

[SSL] minor fix: prevent checking of empty SQL_DOMAIN

Marcel Hofer 5 years ago
parent
commit
b413ed4013
1 changed files with 4 additions and 0 deletions
  1. 4 0
      data/Dockerfiles/acme/acme.sh

+ 4 - 0
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}"