aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2009-03-24 14:07:37 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2009-03-24 14:07:37 +0000
commit12c8c64efaefd36d32e5e7c028496c5ae9172acc (patch)
tree731faf843be5001eeb195351aa409370b3be1d39
parent7aedcf946043468c169ab9b0a131be908804789b (diff)
-rw-r--r--src/libstore/build.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index e827431eb..3d61b5047 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -2640,7 +2640,7 @@ void Worker::waitForInput()
if (!waitingForAWhile.empty()) {
useTimeout = true;
- if (lastWokenUp == 0 && children.empty())
+ if (lastWokenUp == 0)
printMsg(lvlError, "waiting for locks...");
if (lastWokenUp == 0 || lastWokenUp > before) lastWokenUp = before;
timeout.tv_sec = std::max((time_t) 0, lastWokenUp + wakeUpInterval - before);