Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-04 23:50:52 -06:00
parent 9a0141f54d
commit c211be902d

View File

@@ -112,7 +112,11 @@ LISTCERTS(){
echo -e "Expiration Date: ${idsCL[Green]}$(date -d @${CERTEXPIRE} '+%m-%d-%Y')${idsCL[Default]}"
fi
echo ""
echo "-d ${SUBJECT},${SUBJECTNAMES}"
if [ "${#SUBJECT_NAMES[*]}" -gt 1 ]; then
echo "-d ${SUBJECT},${SUBJECTNAMES}"
else
echo "-d ${SUBJECT}"
fi
echo ""
done