Commit 615bf9aa by Gabriel Falcão

Merge pull request #270 from njwilson/fix-exit-code

Fix CLI exit code
parents 1e9ed94d 31e4ad97
......@@ -79,7 +79,7 @@ def main(args=sys.argv[1:]):
)
result = runner.run()
failed = bool(result or result.steps != result.steps_passed)
failed = result is None or result.steps != result.steps_passed
raise SystemExit(int(failed))
if __name__ == '__main__':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment