diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2014-01-15 14:11:13 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-01-15 14:11:13 -0800 |
commit | 95acf4e9aeceefc1edaf18873617a3f51eda9c4d (patch) | |
tree | 0ce6e68a4597c64f5dcc966e0d46bd80280ae2ca | |
parent | 7769246d1d2f9551cfafe2066018cce87235e840 (diff) | |
download | ohai-95acf4e9aeceefc1edaf18873617a3f51eda9c4d.tar.gz |
typo fixes for solaris filesystem
-rw-r--r-- | lib/ohai/plugins/solaris2/filesystem.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ohai/plugins/solaris2/filesystem.rb b/lib/ohai/plugins/solaris2/filesystem.rb index 2bf5e505..c640898f 100644 --- a/lib/ohai/plugins/solaris2/filesystem.rb +++ b/lib/ohai/plugins/solaris2/filesystem.rb @@ -51,7 +51,7 @@ Ohai.plugin(:Filesystem) do end # Grab mount information from /bin/mount - so = shell+out("mount") + so = shell_out("mount") so.stdout.lines do |line| next unless (line =~ /^(.+?) on (.+?) (.+?) on (.+?)$/) filesystem = $2 @@ -63,7 +63,7 @@ Ohai.plugin(:Filesystem) do # Grab any zfs data from "zfs get" zfs = Mash.new - so = shell_out("sfs get -p -H all") + so = shell_out("zfs get -p -H all") so.stdout.lines do |line| next unless (line =~ /^([^\t]+)\t([^\t]+)\t([^\t]+)\t([^\t]+)$/) filesystem = $1 |