Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
config, gitignore: failure to access with ENOTDIR is ok
[gitweb.git]
/
wrapper.c
diff --git
a/wrapper.c
b/wrapper.c
index 68739aaa3b9e9e1a1bbbd43c75c9b5c244fb6c3e..c1b919f335cecf50b27039f1b0f0dd3b18f12044 100644
(file)
--- a/
wrapper.c
+++ b/
wrapper.c
@@
-411,7
+411,7
@@
void warn_on_inaccessible(const char *path)
int access_or_warn(const char *path, int mode)
{
int ret = access(path, mode);
- if (ret && errno != ENOENT)
+ if (ret && errno != ENOENT
&& errno != ENOTDIR
)
warn_on_inaccessible(path);
return ret;
}