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