summaryrefslogtreecommitdiff
path: root/src/attr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/attr.c')
-rw-r--r--src/attr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/attr.c b/src/attr.c
index 603498df2..0aa1e325b 100644
--- a/src/attr.c
+++ b/src/attr.c
@@ -235,7 +235,7 @@ int git_attr_cache__lookup_or_create_file(
return GIT_SUCCESS;
}
- if (loader && git_path_exists(filename) != GIT_SUCCESS) {
+ if (loader && git_path_exists(filename) == false) {
*file_ptr = NULL;
return GIT_SUCCESS;
}