From 7b29c7c870bfa723f0ff5940d8dd853899b1a026 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 5 Feb 2019 08:35:38 -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 818e17b6..338304b6 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -106,12 +106,12 @@ LISTCERTS(){ DAYS=14; DUEIN=$(($(date +%s) + (86400*$DAYS))); DIVIDER true - echo -e "Certificate Subject: ${idsST[Bold]}${idsBG[Blue]}${SUBJECT}${idsST[Reset]}${idsBG[Default]}" + echo -e "Certificate Subject: ${idsST[Bold]}${idsBG[Blue]}${SUBJECT}${idsST[Reset]}${idsBG[Default]}" 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 - echo -e "${alttitle} ${idsCL[LightCyan]}${ALTNAME}${idsCL[Default]}" + 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