Signed-off-by: Martijn Dekker <martijn@inlv.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
nfiles = 0;
do {
cur = my_stat(*argv, *argv,
- /* follow links on command line unless -l, -s or -F: */
- !(option_mask32 & (OPT_l|OPT_s|OPT_F))
+ /* follow links on command line unless -l, -i, -s or -F: */
+ !(option_mask32 & (OPT_l|OPT_i|OPT_s|OPT_F))
/* ... or if -H: */
|| (option_mask32 & OPT_H)
/* ... or if -L, but my_stat always follows links if -L */