Commit 91d18b00 authored by Mac Newbold's avatar Mac Newbold
Browse files

Empty pipe before closing it, so tee doesn't complain about a broken pipe.

parent 730c5fe6
......@@ -414,6 +414,8 @@ while ($run <= $maxrun) {
}
}
while (<ASSIGNFP>) { } # Read anything left in the pipe before closing
close(ASSIGNFP);
if ($violations > 0) {
......
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