mirror of
https://github.com/inspec/inspec
synced 2024-11-27 15:10:44 +00:00
commit
3486a67ca4
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ class Cmd < Inspec.resource(1)
|
|||
elsif inspec.os.unix?
|
||||
res = inspec.backend.run_command("type \"#{@command}\"")
|
||||
else
|
||||
warn "`command(#{@command}).exist?` is not suported on you OS: #{inspec.os[:family]}"
|
||||
warn "`command(#{@command}).exist?` is not suported on your OS: #{inspec.os[:family]}"
|
||||
return false
|
||||
end
|
||||
res.exit_status.to_i == 0
|
||||
|
|
Loading…
Reference in a new issue