From 52442f1d823d2292dee0fdd877d47dd5cf76e88f Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 11 Feb 2019 13:56:07 -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 9bfcd04a..b60e0eb9 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -620,6 +620,7 @@ LISTCERTS(){ c=0; cw=26; spc='' spc1=${cw}-${#SUBJECT} + until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done if [ $DUEIN -gt $CERTEXPIRE ]; then date="${idsST[Bold]}${idsCL[Red]}$(date -d @${CERTEXPIRE} '+%m-%d-%Y')${idsST[Reset]}${idsCL[Default]}" else @@ -627,7 +628,6 @@ LISTCERTS(){ fi if [ "${CHECKCERT_DOMAINS[${SUBJECT}]}" = "" ]; then SUBJECT_DISP=${SUBJECT} - until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done # else # SUBJECT_DISP="${idsBG[Green]}${idsCL[White]}${SUBJECT}${idsBG[Default]}${idsCL[Cyan]}" # spc="${idsBG[Green]}"