From 9eb1a5c3052c6c9d4e3212b3d77fd3bc55a2fa9c Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 6 Feb 2019 12:03:24 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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