about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);