diff options
Diffstat (limited to 'diff-files.c')
-rw-r--r-- | diff-files.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/diff-files.c b/diff-files.c index 414b36ec90..eb99c3cf09 100644 --- a/diff-files.c +++ b/diff-files.c @@ -108,7 +108,7 @@ int main(int argc, char **argv) } if (lstat(ce->name, &st) < 0) { - if (errno != ENOENT) { + if (errno != ENOENT && errno != ENOTDIR) { perror(ce->name); continue; } |