diff options
Diffstat (limited to 'ls-files.c')
-rw-r--r-- | ls-files.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ls-files.c b/ls-files.c index 8b53f2fd52..58b5aee94e 100644 --- a/ls-files.c +++ b/ls-files.c @@ -199,7 +199,7 @@ static void show_files(void) struct stat st; if (excluded(ce->name) != show_ignored) continue; - if (!stat(ce->name, &st)) + if (!lstat(ce->name, &st)) continue; printf("%s%c", ce->name, line_terminator); } |