Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-04 23:00:14 -06:00
parent 0d49a57f21
commit 32bca4a582

View File

@@ -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