mirror of
https://github.com/inspec/inspec
synced 2024-11-23 05:03:07 +00:00
Amended the process resource to skip on windows
Signed-off-by: username-is-already-taken2 <gary.bright@niu-solutions.com>
This commit is contained in:
parent
9e71c94b83
commit
f1057ac754
1 changed files with 2 additions and 0 deletions
|
@ -32,6 +32,8 @@ module Inspec::Resources
|
|||
@list = all_cmds.find_all do |hm|
|
||||
hm[:command] =~ grep
|
||||
end
|
||||
|
||||
return skip_resource 'The `processes` resource is not supported on your OS yet.' if inspec.os.windows?
|
||||
end
|
||||
|
||||
def to_s
|
||||
|
|
Loading…
Reference in a new issue