mirror of
https://github.com/inspec/inspec
synced 2024-11-10 23:24:18 +00:00
be more explicit about detecting unix
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
This commit is contained in:
parent
bc98b3330f
commit
2eb94f5e2e
1 changed files with 2 additions and 1 deletions
|
@ -112,7 +112,8 @@ class Vulcano::Plugins::Backend
|
|||
end
|
||||
|
||||
# unix based systems combine the above
|
||||
return true if pf == 'unix' and (detect_darwin or detect_via_uname)
|
||||
return true if pf == 'unix' and detect_darwin
|
||||
return true if pf == 'unix' and detect_via_uname
|
||||
|
||||
# if we arrive here, we most likey have a regular linux
|
||||
detect_linux
|
||||
|
|
Loading…
Reference in a new issue