summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bin/ls/ls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ls/ls.c b/bin/ls/ls.c
index 644bc96..5338071 100644
--- a/bin/ls/ls.c
+++ b/bin/ls/ls.c
@@ -399,7 +399,7 @@ main(int argc, char *argv[])
* If not -F, -d or -l options, follow any symbolic links listed on
* the command line.
*/
- if (!f_longform && !f_listdir && !f_type)
+ if (!f_longform && !f_listdir && (!f_type || f_slash))
fts_options |= FTS_COMFOLLOW;
/*
OpenPOWER on IntegriCloud