Fix handling of IPC::Run::run exit status
Turns out that the exit status is returned in $?, not as the return value of run(). So our error checking was completely bogus.
This commit is contained in:
@ -424,7 +424,7 @@ sub force_eval : Chained('admin') Path('eval') Args(2) {
|
||||
$c->stash->{jobset} = $c->stash->{jobset_}->single
|
||||
or notFound($c, "Jobset $jobsetName doesn't exist.");
|
||||
|
||||
(my $res, my $stdout, my $stderr) = captureStdoutStderr(60, ("hydra-evaluator", $projectName, $jobsetName));
|
||||
captureStdoutStderr(60, "hydra-evaluator", $projectName, $jobsetName);
|
||||
|
||||
$c->res->redirect("/project/$projectName");
|
||||
}
|
||||
|
Reference in New Issue
Block a user