Update nodemgmt-scripts.sh

This commit is contained in:
2022-06-04 08:44:17 -05:00
parent a08a0422d5
commit e1248d6ff2

View File

@@ -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