diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index fefdc4d4..03f0f0c3 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -97,8 +97,8 @@ LISTCERTS(){ if [ "${#SUBJECTNAMES[*]}" -gt 1 ]; then anid=1 for ALTNAME in "${SUBJECTNAMES[@]}"; do - if [ "${anid}" = 1 ]; then alttitle='Alternate Subject:'; else alttitle=' '; fi - echo -e " ${idsCL[LightCyan]}${ALTNAME}${idsCL[Default]}" + if [ "${anid}" = 1 ]; then alttitle='Alternate Subject:'; else alttitle=' '; fi + echo -e "${alttitle} ${idsCL[LightCyan]}${ALTNAME}${idsCL[Default]}" anid=`expr $nid + 1` done fi