mirror of
https://github.com/inspec/inspec
synced 2025-02-17 06:28:40 +00:00
Merge pull request #331 from rbhitchcock/master
Set exit status to return value of Inspec Runner
This commit is contained in:
commit
67306a0ed3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue