diff options
author | Phil Dibowitz <phild@fb.com> | 2014-12-16 09:26:10 -0800 |
---|---|---|
committer | Phil Dibowitz <phild@fb.com> | 2014-12-16 09:26:10 -0800 |
commit | 8af6b759363c6b8d95559c44efbfbd99927cdab2 (patch) | |
tree | 33a81b8126a1df7299b2000c2ea25ff893c8b16a | |
parent | 4c21cf45891207a8b957cccdec2cd23439cbeceb (diff) | |
download | ohai-8af6b759363c6b8d95559c44efbfbd99927cdab2.tar.gz |
Always use posix output
Otherwise you get multiline and end up with garbage entries.
-rw-r--r-- | lib/ohai/plugins/linux/filesystem.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/plugins/linux/filesystem.rb b/lib/ohai/plugins/linux/filesystem.rb index d01d5294..ced1a6a9 100644 --- a/lib/ohai/plugins/linux/filesystem.rb +++ b/lib/ohai/plugins/linux/filesystem.rb @@ -62,7 +62,7 @@ Ohai.plugin(:Filesystem) do end # Grab filesystem inode data from df - so = shell_out("df -i") + so = shell_out("df -iP") so.stdout.lines do |line| case line when /^Filesystem\s+Inodes/ |