run_checks: Fix exit status.
This commit is contained in:
parent
7e579740aa
commit
aa3b9b7f35
@ -334,8 +334,7 @@ def main():
|
|||||||
color = 'green' if ok else 'red'
|
color = 'green' if ok else 'red'
|
||||||
utils.print_col(
|
utils.print_col(
|
||||||
' {} - {} ({})'.format(k, 'ok' if ok else 'FAIL', v), color)
|
' {} - {} ({})'.format(k, 'ok' if ok else 'FAIL', v), color)
|
||||||
|
if all(exit_status_bool.values()):
|
||||||
if all(exit_status_bool):
|
|
||||||
return 0
|
return 0
|
||||||
else:
|
else:
|
||||||
return 1
|
return 1
|
||||||
|
Loading…
Reference in New Issue
Block a user