aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libutil/util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/util.cc b/src/libutil/util.cc
index e12c4b258..ce50334e1 100644
--- a/src/libutil/util.cc
+++ b/src/libutil/util.cc
@@ -202,7 +202,7 @@ bool isInDir(const Path & path, const Path & dir)
bool isDirOrInDir(const Path & path, const Path & dir)
{
- return path == dir or isInDir(path, dir);
+ return path == dir || isInDir(path, dir);
}