diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2007-01-04 14:45:14 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@xenon.tklauser.home> | 2007-01-04 14:45:14 +0100 |
commit | b356ec8affa09366306c3d93fecc87d3fe1d2f9c (patch) | |
tree | 3487181497032696d5e6af28fb161c4a8e01ea15 | |
parent | d7bb74a7a46bd87d48eeea50025a6007cdfeb732 (diff) |
inotail.c: Make it clear that we're handling one file when tailing stdin
-rw-r--r-- | inotail.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -440,7 +440,7 @@ int main(int argc, char **argv) } else { /* It must be stdin then */ static char *dummy_stdin = "-"; - n_files++; + n_files = 1; filenames = &dummy_stdin; /* POSIX says that -f is ignored if no file operand is |