diff --git a/inc/certs.inc b/inc/certs.inc index f43d2f3c..4eeb208b 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 - if [ -f ${NM_FOLDER}/conf/ssl-domain-checks.conf ]; then + if [ ! -f ${NM_FOLDER}/conf/ssl-domain-checks.conf ]; then declare -A CHECKCERT_DOMAINS IFS=$'\n' for LINE in `egrep -v '(^#|^$)' ${NM_FOLDER}/conf/ssl-domain-checks.conf`; do