diff --git a/inc/certs.inc b/inc/certs.inc index 65756eec..cd6fd354 100755 --- a/inc/certs.inc +++ b/inc/certs.inc @@ -280,7 +280,6 @@ LISTCERTS(){ trap exitspacing EXIT while [ "${editc^}" != "E" ]; do - unset certid echo -e "\033[K" echo -e "\033[K" echo -e "\033[K (${idsCL[Green]}R${idsCL[Default]})eload, (${idsCL[Yellow]}E${idsCL[Default]})xit" @@ -301,7 +300,6 @@ LISTCERTS(){ exit 0 elif [ "${certid}" != "" ] && [ "${CERTLIST[${certid}]}" != "" ]; then - echo "HERE: ${certid} = '${CERTLIST[${certid}]}'" cert=${CERTLIST[${certid}]} certdir=${NM_CERTPATH}/live/${cert} SUBJECT=$(${NCMD} openssl x509 -in ${certdir}/cert.pem -noout -subject|grep -oP '(?<=CN = )[^,]+'|sort -uV)