diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 0c7eee9f..01ac86c7 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -578,7 +578,6 @@ NIGHTLYRENEW(){ } LISTCERTS(){ - declare -i cw; declare -i spc1; declare -i c declare -A CHECKCERT_DOMAINS IFS=$'\n' for LINE in `egrep -v '(^#|^$)' ${FOLDER}/ssl-cert-check/ssldomains`; do @@ -620,6 +619,7 @@ LISTCERTS(){ DAYS=14; DUEIN=$(($(date +%s) + (86400*$DAYS))); echo 'yes' + declare -i cw; declare -i spc1; declare -i c c=0; cw=26; spc='' spc1=${cw}-${#SUBJECT} echo 'yes-a'