Update certs.inc

This commit is contained in:
2023-11-13 09:33:43 -06:00
parent fcbc340545
commit 9e31280dbb

View File

@@ -183,9 +183,9 @@ LISTCERTS(){
esac
shift
done
declare -i cw; declare -i spc1; declare -i c
declare -i cw; declare -i spc1; declare -i c declare -A CHECKCERT_DOMAINS
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
HOST=${LINE%% *}
@@ -195,7 +195,7 @@ LISTCERTS(){
done
unset IFS
else
CHECKCERT_DOMAINS=''
CHECKCERT_DOMAINS[0]=''
fi
# if [ ! -z ${LOCAL_SERVICES+x} ]; then