diff --git a/inc/certs.inc b/inc/certs.inc index 7e05715d..be216e00 100755 --- a/inc/certs.inc +++ b/inc/certs.inc @@ -283,8 +283,8 @@ LISTCERTS(){ echo -n "${spc2} " for sn in {3..5}; do if [ "${SUBJECT_NAMES[${sn}]}" != "" ]; then + [ ${sn} -ne 3 ] && echo -n ", " echo -n ${SUBJECT_NAMES[${sn}]} - [ ${sn} -ne 5 ] && echo -n ", " fi done echo