From 12c8c64efaefd36d32e5e7c028496c5ae9172acc Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 24 Mar 2009 14:07:37 +0000 Subject: [PATCH] --- src/libstore/build.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);