diff --git a/src/script/hydra-build b/src/script/hydra-build index e5db81b9..41a4458e 100755 --- a/src/script/hydra-build +++ b/src/script/hydra-build @@ -368,7 +368,7 @@ sub doBuild { $stopTime = time(); if ($res != 0) { - if ($thisBuildFailed) { $buildStatus = 1; } + if ($thisBuildFailed && $res == 100) { $buildStatus = 1; } elsif ($someBuildFailed) { $buildStatus = 2; } else { $buildStatus = 3; } }