Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-06 12:25:51 -06:00
parent 5f1eebd0d6
commit f216232621

View File

@@ -138,7 +138,7 @@ LISTCERTS(){
DAYS=14; DUEIN=$(($(date +%s) + (86400*$DAYS)));
declare -i cw; declare -i spc1; declare -i c
c=1; cw=30; spc=''
c=0; cw=30; spc=''
spc1=${cw}-${#SUBJECT}
until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
if [ $DUEIN -gt $CERTEXPIRE ]; then