From 32bca4a5820f85c4c21850022520c36b5307ca17 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 4 Feb 2019 23:00:14 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 270cb8e0..0bf6bfc0 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -94,7 +94,7 @@ LISTCERTS(){ DIVIDER true echo -e "Certificate Subject: ${idsST[Bold]}${idsCL[Cyan]}${SUBJECT}${idsST[Reset]}${idsCL[Default]}" - if [ "${#foo[*]}" -gt 1 ]; then + if [ "${#SUBJECTNAMES[*]}" -gt 1 ]; then anid=1 for ALTNAME in "${SUBJECTNAMES[@]}"; do if [ "${anid}" = 1 ]; then alttitle='Alternate Subject:'; else alttitle=' '; fi