From 97f8c61928af331247e03bb64e6bbe414748878b Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 29 Dec 2015 17:53:33 +0100 Subject: [PATCH] Fix hydra-queue-runner --build-one --- src/hydra-queue-runner/builder.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hydra-queue-runner/builder.cc b/src/hydra-queue-runner/builder.cc index 929532ff..eef6ab50 100644 --- a/src/hydra-queue-runner/builder.cc +++ b/src/hydra-queue-runner/builder.cc @@ -91,7 +91,7 @@ bool State::doBuildStep(std::shared_ptr store, Step::ptr step, % step->drvPath % machine->sshName % build->id % (dependents.size() - 1)); } - bool quit = build->id == buildOne; + bool quit = build->id == buildOne && step->drvPath == build->drvPath; auto conn(dbPool.get());