Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

typo fixes for solaris filesystem

  • Loading branch information...
commit 95acf4e9aeceefc1edaf18873617a3f51eda9c4d 1 parent 7769246
@lamont-granquist lamont-granquist authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/ohai/plugins/solaris2/filesystem.rb
View
4 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
Please sign in to comment.
Something went wrong with that request. Please try again.