Update nodemgmt-scripts.sh

This commit is contained in:
2022-06-04 09:07:27 -05:00
parent 562dfd1e60
commit 49d6de17ca

View File

@@ -1684,7 +1684,7 @@ VCENTER-SSL(){
VCCERTDAYS=$(${FOLDER}/ssl-cert-check/ssl-cert-check -p 443 -s ${VCHOSTNAME} -N)
VCCERTDAYS=${VCCERTDAYS#*=}
if [ "${VCCERTDAYS}" -lt "29" ]; then
if [ "${VCCERTDAYS}" -gt "29" ]; then
echo -e "${idsCL[Green]}${VCCERTDAYS} days left, Certificate is still valid, no noeed to update${idsCL[Default]}"
exit 0
else