add support for marking exit codes other than zero as success codes.