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