Fix hydra-queue-runner --build-one

This commit is contained in:
Eelco Dolstra 2015-12-29 17:53:33 +01:00
parent 29db16bc69
commit 97f8c61928

View file

@ -91,7 +91,7 @@ bool State::doBuildStep(std::shared_ptr<StoreAPI> 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());