aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build2/algorithm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/algorithm.cxx b/build2/algorithm.cxx
index a6208d4..c6ff1b5 100644
--- a/build2/algorithm.cxx
+++ b/build2/algorithm.cxx
@@ -171,7 +171,7 @@ namespace build2
{
case target::offset_executed:
{
- if (a == t.action)
+ if (t.action == a || t.action > a)
{
// We don't lock already executed targets.
//