diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-12-13 10:17:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-13 10:17:11 +0100 |
commit | 522cebdef427bb8aad0f3ca140deff2e8bb88017 (patch) | |
tree | 10d9fdd743e6b2341aca3a66c28978773aa47047 | |
parent | 800cd55ab74fffe9a1d212c2b8caf4024ebd98b6 (diff) | |
parent | 21d494da8304aa496721c7695573b9ad796a30be (diff) |
Merge pull request #2578 from volth/patch-5
probably typo
-rw-r--r-- | src/libutil/util.cc | 2 |
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); } |