diff --git a/inc/certs.inc b/inc/certs.inc index 04f1bb1a..0b9973fb 100755 --- a/inc/certs.inc +++ b/inc/certs.inc @@ -184,7 +184,7 @@ LISTCERTS(){ shift done declare -i cw; declare -i spc1; declare -i c; declare -A CHECKCERT_DOMAINS - if [ ! -f ${NM_FOLDER}/conf/ssl-domain-checks.conf ]; then + if [ -f ${NM_FOLDER}/conf/ssl-domain-checks.conf ]; then IFS=$'\n' for LINE in `egrep -v '(^#|^$)' ${NM_FOLDER}/conf/ssl-domain-checks.conf`; do @@ -194,7 +194,6 @@ LISTCERTS(){ CHECKCERT_DOMAINS[${HOST}]=${PORT} done unset IFS - fi # if [ ! -z ${LOCAL_SERVICES+x} ]; then