about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 3d61b5047f18..aa7143299cc8 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -2715,7 +2715,7 @@ void Worker::waitForInput()
         }
     }
 
-    if (!waitingForAWhile.empty() && lastWokenUp + wakeUpInterval >= after) {
+    if (!waitingForAWhile.empty() && lastWokenUp + wakeUpInterval <= after) {
         lastWokenUp = after;
         foreach (WeakGoals::iterator, i, waitingForAWhile) {
             GoalPtr goal = i->lock();