mirror of
https://github.com/inspec/inspec
synced 2024-09-21 15:02:01 +00:00
fix typo
This commit is contained in:
parent
2a1289616d
commit
6e8c4f02a1
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ class Cmd < Inspec.resource(1)
|
|||
elsif inspec.os.unix?
|
||||
res = inspec.backend.run_command("type \"#{@command}\"")
|
||||
else
|
||||
warn "`command(#{@command}).exit?` is not suported on you OS: #{inspec.os['family']}"
|
||||
warn "`command(#{@command}).exist?` is not suported on you OS: #{inspec.os['family']}"
|
||||
return false
|
||||
end
|
||||
res.exit_status.to_i == 0
|
||||
|
|
Loading…
Reference in a new issue