run_checks: Fix exit status.

This commit is contained in:
Florian Bruhin 2014-12-03 23:11:37 +01:00
parent 7e579740aa
commit aa3b9b7f35

View File

@ -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