Commit a1b47e2c authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Fix for perl oddity I don't understand.

parent e09c96cd
...@@ -1178,7 +1178,8 @@ sub RunStitcher() ...@@ -1178,7 +1178,8 @@ sub RunStitcher()
system("cd $tmpdir; $command > $stdoutfile 2> $stderrfile"); system("cd $tmpdir; $command > $stdoutfile 2> $stderrfile");
if ($?) { if ($?) {
if (-s $stderrfile) { if (-s $stderrfile) {
$webtask->output(`cat $stderrfile`); my $stuff = `cat $stderrfile`;
$webtask->output($stuff);
system("/bin/cat $stderrfile"); system("/bin/cat $stderrfile");
} }
else { else {
......
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