1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 02:51:03 +00:00

Fix cpct value

This commit is contained in:
Tomas Sirny 2013-12-10 15:48:01 +01:00
parent f57d763b3f
commit d7e6c0114d

View file

@ -66,6 +66,8 @@ if ( $ARGV[0] and $ARGV[0] eq "config" ) {
} }
if ( $proc ) { if ( $proc ) {
$cpct = $proc; $cpct = $proc;
} else {
$cpct = 0;
} }
print "$dev.value $pct\n"; print "$dev.value $pct\n";
print $dev, "_rebuild.value $rpct\n"; print $dev, "_rebuild.value $rpct\n";