mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2025-04-21 12:27:27 +03:00
m1rc3/norruption/2/collda: corrected $n to be the number of standby failures
This commit is contained in:
@@ -5,9 +5,10 @@ while (<>) {
|
|||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
next unless /Checking : (\S+)\s+CRC failed.* got (\S+)\)/;
|
next unless /Checking : (\S+)\s+CRC failed.* got (\S+)\)/;
|
||||||
|
if ($1 eq "standby.fpg") {
|
||||||
$n++;
|
$n++;
|
||||||
$c{$n} = $c+1;
|
$c{$n} = $c+1;
|
||||||
next if $1 eq "standby.fpg";
|
}
|
||||||
next if $last{$1} eq $2;
|
next if $last{$1} eq $2;
|
||||||
if (defined $h{$n}) {
|
if (defined $h{$n}) {
|
||||||
$h{$n} .= ", ".$1;
|
$h{$n} .= ", ".$1;
|
||||||
|
|||||||
Reference in New Issue
Block a user