From a9a2679793a17325c966dec4cbb27d44b0531694 Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Mon, 24 Jun 2024 21:41:40 +0200 Subject: [PATCH] hydra-evaluator: fix regression from e9d0a3 (inverted assertion) --- src/hydra-evaluator/hydra-evaluator.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hydra-evaluator/hydra-evaluator.cc b/src/hydra-evaluator/hydra-evaluator.cc index 7a6b140c..462c085e 100644 --- a/src/hydra-evaluator/hydra-evaluator.cc +++ b/src/hydra-evaluator/hydra-evaluator.cc @@ -191,7 +191,7 @@ struct Evaluator txn.commit(); } - assert(jobset.pid); + assert(!jobset.pid); jobset.pid = startProcess([&]() { Strings args = { "hydra-eval-jobset", jobset.name.project, jobset.name.jobset };