From e1248d6ff280a280649f57691c4cde22768076bb Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 4 Jun 2022 08:44:17 -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 8a40d49e..968a6a4d 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -1683,7 +1683,7 @@ VCENTER-SSL(){ echo -en "${idsCL[LightCyan]}Checking if certificate needs to be updated on vCenter... ${idsCL[Default]}" VCCERTDAYS=$(${FOLDER}/ssl-cert-check/ssl-cert-check -p 443 -s ${VCHOSTNAME} -N) - if [ "${VCCERTDAYS}" -lt 30 ]; then + if [ "${VCCERTDAYS}" -lt "30" ]; then echo -e "${idsCL[Green]}Certificate is still valid for ${VCCERTDAYS} days yet, no noeed to update${idsCL[Default]}" exit 0 else