Update certs.inc

This commit is contained in:
2023-11-13 09:34:35 -06:00
parent fe5dd72e48
commit f5384d8942

View File

@@ -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