From 7ea80490f2a51c9ec9cf917085c4df921a7a2465 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 4 Feb 2019 23:57:27 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 768ae7ca..92d52ed4 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -102,7 +102,7 @@ LISTCERTS(){ 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 + for ALTNAME in "${SUBJECT_NAMES2[@]}"; do if [ "${anid}" = 1 ]; then alttitle='Alternate Subject(s):'; else alttitle=' '; fi echo -e "${alttitle} ${idsCL[LightCyan]}${ALTNAME}${idsCL[Default]}" anid=`expr $anid + 1` @@ -117,7 +117,7 @@ LISTCERTS(){ if [ "${#SUBJECT_NAMES[*]}" -gt 1 ]; then echo "-d ${SUBJECT},${SUBJECTNAMES2}" else - echo "-d ${SUBJECT},${SUBJECTNAMES2}" + echo "-d ${SUBJECT}" fi echo "" done