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