nasty bug.

On failure this returns “exit $STATE_CRITICAL”

But $STATE_CRITICAL is not defined, so the return status is always good. Only the Status Information text changes.