mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
Merge pull request #923 from smith153/master
Fix Odd number of elements in hash at linux_diskstat_ line 321
This commit is contained in:
commit
d01aa273a7
@ -498,7 +498,7 @@ sub read_sysfs {
|
|||||||
$cur_device =~ tr#!#/#;
|
$cur_device =~ tr#!#/#;
|
||||||
|
|
||||||
# Faking missing diskstats values
|
# Faking missing diskstats values
|
||||||
unshift @elems, ( '', '', $cur_device );
|
unshift @elems, ( -1, -1, $cur_device );
|
||||||
|
|
||||||
push @lines, \@elems;
|
push @lines, \@elems;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user