From 6fb023b81c1fe4a1a924424dfb55f2efda037ac5 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 12 Nov 2023 20:10:20 -0600 Subject: [PATCH] Update certs.inc --- inc/certs.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/certs.inc b/inc/certs.inc index 7bc380ce..37c4ea82 100755 --- a/inc/certs.inc +++ b/inc/certs.inc @@ -218,7 +218,7 @@ LISTCERTS(){ until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done if [ $CERTEXPIRE -le $DUEIN ]; then date="${idsST[Bold]}${idsCL[Red]}$(date -d @${CERTEXPIRE} '+%m-%d-%Y')${idsST[Reset]}${idsCL[Default]}" - SENDNOTICE "SSL Expiring" "${SUBJECT} expires on ${date}" 1 + SENDNOTICE "SSL Expiring" "${SUBJECT} expires on $(date -d @${CERTEXPIRE} '+%m-%d-%Y')" 1 else date="${idsCL[Green]}$(date -d @${CERTEXPIRE} '+%m-%d-%Y')${idsCL[Default]}" fi