forked from lix-project/hydra
Fix an uninitialized value warning
This commit is contained in:
parent
ee5b655535
commit
3e54f0a6ab
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ sub view : Chained('eval') PathPart('') Args(0) {
|
|||
if ($d == 0) {
|
||||
$n++;
|
||||
$found = 1;
|
||||
if ($build->buildstatus == 3 || $build->buildstatus == 4) {
|
||||
if ($build->finished != 0 && ($build->buildstatus == 3 || $build->buildstatus == 4)) {
|
||||
push @{$c->stash->{aborted}}, $build;
|
||||
} elsif ($build->finished == 0 || $build2->finished == 0) {
|
||||
push @{$c->stash->{unfinished}}, $build;
|
||||
|
|
Loading…
Reference in a new issue