Honoring DISABLE_ERRORS

This commit is contained in:
Dana Merrick 2020-09-03 19:23:24 -04:00
parent e89faa7920
commit dd84550d46

View file

@ -988,6 +988,11 @@ CallStatusAPI() {
else
# Failure
MESSAGE="${FAIL_MSG}"
# make sure we honor DISABLE_ERRORS
if [ "${DISABLE_ERRORS}" == "true" ]; then
STATUS="success"
fi
fi
##########################################################