From aa3b9b7f35db05c9a4cd3cf97783126476644964 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 3 Dec 2014 23:11:37 +0100 Subject: [PATCH] run_checks: Fix exit status. --- scripts/run_checks.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/run_checks.py b/scripts/run_checks.py index 866c1353a..0fecc0a4d 100755 --- a/scripts/run_checks.py +++ b/scripts/run_checks.py @@ -334,8 +334,7 @@ def main(): color = 'green' if ok else 'red' utils.print_col( ' {} - {} ({})'.format(k, 'ok' if ok else 'FAIL', v), color) - - if all(exit_status_bool): + if all(exit_status_bool.values()): return 0 else: return 1