Permalink
Browse files

typo fixes for solaris filesystem

  • Loading branch information...
lamont-granquist committed Jan 15, 2014
1 parent 7769246 commit 95acf4e9aeceefc1edaf18873617a3f51eda9c4d
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/ohai/plugins/solaris2/filesystem.rb
@@ -51,7 +51,7 @@
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 @@
# 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

0 comments on commit 95acf4e

Please sign in to comment.