diff options
-rw-r--r-- | src/tail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tail.c b/src/tail.c index c53df9e3f..9288007ca 100644 --- a/src/tail.c +++ b/src/tail.c @@ -1991,7 +1991,7 @@ main (int argc, char **argv) bool stdin_cmdline_arg = false; for (i = 0; i < n_files; i++) - if (STREQ (file[i], "-")) + if (!F[i].ignore && STREQ (F[i].name, "-")) stdin_cmdline_arg = true; if (!disable_inotify && !stdin_cmdline_arg) |