diff --git a/bin/inspec b/bin/inspec index 60f690c00..a99712029 100755 --- a/bin/inspec +++ b/bin/inspec @@ -87,7 +87,7 @@ class InspecCLI < Thor # rubocop:disable Metrics/ClassLength runner = Inspec::Runner.new(opts) runner.add_tests(tests) - runner.run + exit runner.run rescue RuntimeError => e puts e.message end