diff --git a/cronwrapper/__init__.py b/cronwrapper/__init__.py index f77d654..212a295 100755 --- a/cronwrapper/__init__.py +++ b/cronwrapper/__init__.py @@ -195,7 +195,7 @@ def main(): if res in args.success_exit_codes: # Possible success, check error output - re_checks = [re.compile(r) for r in args.err_re] + re_checks = [re.compile(r) for r in args.ignore_error] ok = True with open(errfile, 'r') as f: for line in f: