From 223feceed0cefb5515150ea1245c77b1022cb482 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 12 Nov 2023 22:15:03 -0600 Subject: [PATCH] update --- inc/certs.inc | 2 +- inc/sites.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/certs.inc b/inc/certs.inc index 28f3772d..d86eecdb 100755 --- a/inc/certs.inc +++ b/inc/certs.inc @@ -313,7 +313,7 @@ LISTCERTS(){ SUBJECTNAMES=$(echo $SUBJECTNAMES | sed "s/${SUBJECT}//g") [[ "$(declare -p CHECKCERT_DOMAINS)" =~ "declare -a" ]] && [ "${CHECKCERT_DOMAINS[${SUBJECT}]}" = "" ] && monitored='-' || monitored="Yes" - + editc=0 until [ "${editc^}" = "C" ]; do echo -e "\033[K${idsCL[White]} Expires: ${idsCL[Cyan]}${idsST[Bold]}$(date -d @${CERTEXPIRE} '+%m-%d-%Y')${idsST[Reset]}" echo -e "\033[K${idsCL[White]} Cert Common Name: ${idsCL[Cyan]}${idsST[Bold]}${SUBJECT}${idsST[Reset]}" diff --git a/inc/sites.inc b/inc/sites.inc index 8912638a..4111e32a 100755 --- a/inc/sites.inc +++ b/inc/sites.inc @@ -809,7 +809,7 @@ SITEINFO(){ else lock='-' fi - f=0; edit=0 + f=0; editc=0 until [ "${editc^}" = "C" ]; do echo -e "\033[K${idsCL[White]}0) Site Address(es): ${idsCL[Cyan]}${idsST[Bold]}${servernames}${idsST[Reset]}" echo -e "\033[K${idsCL[White]}1) Site Type: ${idsCL[Cyan]}${idsST[Bold]}${type}${idsST[Reset]}"