Return non-zero exit status if there are violations.