From f62a3aef99a857c020131b1e42b407673faff0e9 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 4 Jun 2022 08:56:32 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 34383292..8fefdb92 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1684,7 +1684,7 @@ VCENTER-SSL(){ VCCERTDAYS=$(${FOLDER}/ssl-cert-check/ssl-cert-check -p 443 -s ${VCHOSTNAME} -N) VCCERTDAYS=${VCCERTDAYS#*=} - if [ "${VCCERTDAYS}" -lt "30" ]; then + if [ "${VCCERTDAYS}" -gt "29" ]; then echo -e "${idsCL[Green]}Certificate is still valid for ${VCCERTDAYS} days yet, no noeed to update${idsCL[Default]}" exit 0 else