Commit 1d8ef477 authored by Jonathon Duerig's avatar Jonathon Duerig

Checks for existence and readability of all filter files before passing them...

Checks for existence and readability of all filter files before passing them to the bottleneck-checker. This definitively fixes the NaN bug. Untested.
parent cc739024
......@@ -146,6 +146,11 @@ foreach $sourceName (readdir(logsDirHandle))
$filterFile2 = $fullPath . "/" . "dest1.filter";
$filterFile3 = $fullPath . "/" . "dest2.filter";
if (!(-r $filterFile1) || !(-r $filterFile2) || !($filterFile3))
{
print "Missing file. Cannot process $fullPath\n";
continue;
}
$sharedBottleneckCheck = $DansScript ." ". $filterFile1
." ". $filterFile2 ." ". $filterFile3;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment