aboutsummaryrefslogtreecommitdiff
path: root/coreutils/ls.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/ls.c')
-rw-r--r--coreutils/ls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c
index fb4f998be..48927c964 100644
--- a/coreutils/ls.c
+++ b/coreutils/ls.c
@@ -1206,8 +1206,8 @@ int ls_main(int argc UNUSED_PARAM, char **argv)
1206 nfiles = 0; 1206 nfiles = 0;
1207 do { 1207 do {
1208 cur = my_stat(*argv, *argv, 1208 cur = my_stat(*argv, *argv,
1209 /* follow links on command line unless -l, -s or -F: */ 1209 /* follow links on command line unless -l, -i, -s or -F: */
1210 !(option_mask32 & (OPT_l|OPT_s|OPT_F)) 1210 !(option_mask32 & (OPT_l|OPT_i|OPT_s|OPT_F))
1211 /* ... or if -H: */ 1211 /* ... or if -H: */
1212 || (option_mask32 & OPT_H) 1212 || (option_mask32 & OPT_H)
1213 /* ... or if -L, but my_stat always follows links if -L */ 1213 /* ... or if -L, but my_stat always follows links if -L */