Skip to content
Snippets Groups Projects
Commit 2a303fc7 authored by Christian Engwer's avatar Christian Engwer
Browse files

improved regexp for error count

[[Imported from SVN: r2167]]
parent babeedf2
No related branches found
No related tags found
No related merge requests found
......@@ -51,8 +51,8 @@ if ($mode ne "dir")
while(<LOG>)
{
$log = $log.$_;
$errors++ if (/error/ || /ERROR/);
$warnings++ if (/warning/ || /WARNING/);
$errors++ if (/error/i);
$warnings++ if (/warning/i);
}
close LOG;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment