diff options
Diffstat (limited to 'lib/ohai/plugins/darwin/hardware.rb')
-rw-r--r-- | lib/ohai/plugins/darwin/hardware.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/plugins/darwin/hardware.rb b/lib/ohai/plugins/darwin/hardware.rb index c9c4bab0..d6689f7c 100644 --- a/lib/ohai/plugins/darwin/hardware.rb +++ b/lib/ohai/plugins/darwin/hardware.rb @@ -23,7 +23,7 @@ Ohai.plugin(:Hardware) do sp_cmd = "system_profiler #{datatype} -xml" # Hardware queries sp_std = shell_out(sp_cmd) - sp_hash = Plist.parse_xml(sp_std.stdout) + Plist.parse_xml(sp_std.stdout) end collect_data(:darwin) do |