diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 0335f07b..c7c59d34 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -141,8 +141,10 @@ LISTCERTS(){ # echo -e "Expiration Date: ${idsCL[Green]}$(date -d @${CERTEXPIRE} '+%m-%d-%Y')${idsCL[Default]}" #fi #echo "" + declare -i cw + declare -i spc1 cw=30 - spc1=$(`expr ${cw}-${#SUBJECT}`) + spc1=${cw}-${#SUBJECT} echo -e "${SUBJECT} ${spc1} $(date -d @${CERTEXPIRE} '+%m-%d-%Y') ${SUBJECTNAMES}" done