From f216232621aa4be2b3f464754bf659bd0eb7f05b Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 6 Feb 2019 12:25:51 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 4d515706..bcbbcd03 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -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