From d872a85101dc85486593fa3f45cd1a1a06c15e63 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 5 Feb 2019 08:36:17 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 338304b6..d86863b9 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -110,15 +110,15 @@ LISTCERTS(){ if [ "${#SUBJECT_NAMES[*]}" -gt 1 ]; then anid=1 for ALTNAME in "${SUBJECT_NAMES[@]}"; do - if [ "${anid}" = 1 ]; then alttitle='Alternate Subject(s):'; else alttitle=' '; fi + if [ "${anid}" = 1 ]; then alttitle='Alternate Subject(s):'; else alttitle=' '; fi echo -e "${alttitle} ${idsCL[LightCyan]}${ALTNAME}${idsCL[Default]}" anid=`expr $anid + 1` done fi if [ $DUEIN -gt $CERTEXPIRE ]; then - echo -e "Expiration Date: ${idsST[Bold]}${idsCL[Red]}$(date -d @${CERTEXPIRE} '+%m-%d-%Y')${idsST[Reset]}${idsCL[Default]}" + echo -e "Expiration Date: ${idsST[Bold]}${idsCL[Red]}$(date -d @${CERTEXPIRE} '+%m-%d-%Y')${idsST[Reset]}${idsCL[Default]}" else - echo -e "Expiration Date: ${idsCL[Green]}$(date -d @${CERTEXPIRE} '+%m-%d-%Y')${idsCL[Default]}" + echo -e "Expiration Date: ${idsCL[Green]}$(date -d @${CERTEXPIRE} '+%m-%d-%Y')${idsCL[Default]}" fi echo ""