diff options
author | Tim Smith <tsmith@chef.io> | 2017-01-20 13:52:46 -0800 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2017-01-20 13:52:46 -0800 |
commit | 174849c60911ff7c24714a130c3adc97484a0896 (patch) | |
tree | ba33249e7f87b8beafeda9456984823b543db995 | |
parent | 14b5ce46995242e5e7579e3da04ab6eec7322732 (diff) | |
download | ohai-174849c60911ff7c24714a130c3adc97484a0896.tar.gz |
Remove extra windows check for glibc
We’re only collecting this data on Windows now so don’t bother checking
if we’re on Windows again
-rw-r--r-- | lib/ohai/plugins/c.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/ohai/plugins/c.rb b/lib/ohai/plugins/c.rb index f761455a..c8d9f689 100644 --- a/lib/ohai/plugins/c.rb +++ b/lib/ohai/plugins/c.rb @@ -76,7 +76,6 @@ Ohai.plugin(:C) do c[:glibc][:version] = $1 c[:glibc][:description] = description end - end unless c[:glibc] || ::RbConfig::CONFIG["host_os"] =~ /mswin|mingw32|windows/ end end |