summaryrefslogtreecommitdiff
path: root/lib/ohai/plugins/filesystem.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ohai/plugins/filesystem.rb')
-rw-r--r--lib/ohai/plugins/filesystem.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/plugins/filesystem.rb b/lib/ohai/plugins/filesystem.rb
index 4fccea03..c061d21b 100644
--- a/lib/ohai/plugins/filesystem.rb
+++ b/lib/ohai/plugins/filesystem.rb
@@ -711,7 +711,7 @@ Ohai.plugin(:Filesystem) do
end
collect_data(:windows) do
- require "set"
+ require "set" unless defined?(Set)
require "wmi-lite/wmi" unless defined?(WmiLite::Wmi)
require_relative "../mash"