summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2017-01-20 13:52:46 -0800
committerTim Smith <tsmith@chef.io>2017-01-20 13:52:46 -0800
commit174849c60911ff7c24714a130c3adc97484a0896 (patch)
treeba33249e7f87b8beafeda9456984823b543db995
parent14b5ce46995242e5e7579e3da04ab6eec7322732 (diff)
downloadohai-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.rb1
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