Skip to content

Commit

Permalink
Merge pull request #101 from agmps17/master
Browse files Browse the repository at this point in the history
Do not show none in the device
  • Loading branch information
cpg committed Jul 28, 2014
2 parents 37e1822 + 379b6b1 commit bc6455a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/030-disks/lib/disks/disk_utils.rb
Original file line number Diff line number Diff line change
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 bc6455a

Please sign in to comment.