about summary refs log tree commit diff
path: root/src/libstore/build.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2009-03-24T14·07+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2009-03-24T14·07+0000
commit12c8c64efaefd36d32e5e7c028496c5ae9172acc (patch)
tree731faf843be5001eeb195351aa409370b3be1d39 /src/libstore/build.cc
parent7aedcf946043468c169ab9b0a131be908804789b (diff)
Diffstat (limited to 'src/libstore/build.cc')
-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 e827431eb865..3d61b5047f18 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);