mirror of
https://github.com/inspec/inspec
synced 2025-02-17 06:28:40 +00:00
fix inverted darwin detection
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
This commit is contained in:
parent
ca753cdb83
commit
0ed2f1b535
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ class Vulcano::Plugins::Backend
|
|||
# as it shouldnt happen
|
||||
return false if cmd.exit_status != 0
|
||||
# TODO: ditto on error
|
||||
return false unless cmd.stdout.empty?
|
||||
return false if cmd.stdout.empty?
|
||||
|
||||
name = cmd.stdout[/^ProductName:\s+(.+)$/, 1]
|
||||
# TODO: ditto on error
|
||||
|
|
Loading…
Add table
Reference in a new issue