diff options
Diffstat (limited to 'CVSROOT')
-rwxr-xr-x | CVSROOT/logcheck | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CVSROOT/logcheck b/CVSROOT/logcheck index fa4d88e9df7e..422ff58abb32 100755 --- a/CVSROOT/logcheck +++ b/CVSROOT/logcheck @@ -57,7 +57,7 @@ close IN; # Remove leading, trailing and duplicate blank lines. my $i = 0; while ($i < scalar(@log_in)) { - unless ($log_in[$i] or $log_in[$i + 1]) { + if ($log_in[$i] eq "" && $log_in[$i + 1] eq "") { splice(@log_in, $i, 1); next; } |