Skip to content

Commit

Permalink
Do not show none in the device
Browse files Browse the repository at this point in the history
Signed-off-by: Arpit Goyal <agmps17@gmail.com>
  • Loading branch information
agmps17 committed Jul 28, 2014
1 parent b0e119e commit 379b6b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/030-disks/lib/disks/disk_utils.rb
Expand Up @@ -82,7 +82,7 @@ def mounts
d[:available] = key[3].to_i * 1024
d[:use_percent] = key[4]
d[:mount] = key[5]
res.push(d) unless ['tmpfs', 'devtmpfs'].include? d[:filesystem]
res.push(d) unless ['tmpfs', 'devtmpfs', 'none'].include? d[:filesystem]
end
res.sort { |x,y| x[:filesystem] <=> y[:filesystem] }
end
Expand Down

0 comments on commit 379b6b1

Please sign in to comment.