aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/bash
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/bash')
-rw-r--r--libbuild2/bash/rule.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/bash/rule.cxx b/libbuild2/bash/rule.cxx
index 9fc89d7..8b47fb0 100644
--- a/libbuild2/bash/rule.cxx
+++ b/libbuild2/bash/rule.cxx
@@ -168,7 +168,7 @@ namespace build2
// Only set path/mtime on first insertion.
//
- if (rp.second.owns_lock ())
+ if (rp.second)
pt.path_mtime (move (ap), mt);
// Save the length of the import path in auxuliary data. We