Skip to content

Commit bc6455a

Browse files
committed
Merge pull request #101 from agmps17/master
Do not show none in the device
2 parents 37e1822 + 379b6b1 commit bc6455a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/030-disks/lib/disks/disk_utils.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def mounts
8282
d[:available] = key[3].to_i * 1024
8383
d[:use_percent] = key[4]
8484
d[:mount] = key[5]
85-
res.push(d) unless ['tmpfs', 'devtmpfs'].include? d[:filesystem]
85+
res.push(d) unless ['tmpfs', 'devtmpfs', 'none'].include? d[:filesystem]
8686
end
8787
res.sort { |x,y| x[:filesystem] <=> y[:filesystem] }
8888
end

0 commit comments

Comments
 (0)