diff --git a/src/script/hydra-evaluator b/src/script/hydra-evaluator index 7e3fac60..1fc0d260 100755 --- a/src/script/hydra-evaluator +++ b/src/script/hydra-evaluator @@ -194,7 +194,7 @@ sub checkJobset { $ev->builds->update({iscurrent => 1}); } else { print STDERR " created cached eval ", $ev->id, "\n"; - $prevEval->builds->update({iscurrent => 1}); + $prevEval->builds->update({iscurrent => 1}) if defined $prevEval; } });