Clear nrSucceeded when restarting a build

This commit is contained in:
Eelco Dolstra
2012-04-17 09:34:35 +00:00
parent d350b935f2
commit 896a47d950
2 changed files with 8 additions and 2 deletions

View File

@ -351,9 +351,9 @@ sub restart : Chained('build') PathPart Args(0) {
requireProjectOwner($c, $build->project);
my $drvpath = $build->drvpath ;
my $drvpath = $build->drvpath;
error($c, "This build cannot be restarted.")
unless $build->finished && -f $drvpath ;
unless $build->finished && -f $drvpath;
restartBuild($c->model('DB')->schema, $build);