Merge pull request #372 from chef/jc/typo

Fix typo
This commit is contained in:
Stephan Renatus 2016-01-19 15:27:00 +01:00
commit 3486a67ca4

View file

@ -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