Commit ebae78e5 authored by Leigh B Stoller's avatar Leigh B Stoller

Change stitching return to GENIRESPONSE_STITCHER_ERROR when it exists

with BADARGS; stitcher always exists with 1, and I've not been able to
fix that.
parent d677c32a
......@@ -1318,6 +1318,7 @@ sub RunStitcher()
system("cd $tmpdir; $command > $stdoutfile 2> $stderrfile");
if ($?) {
$errcode = $? >> 8;
$errcode = GENIRESPONSE_STITCHER_ERROR() if ($errcode == 1);
if (-s $stderrfile) {
my $stuff = `cat $stderrfile`;
......
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