From 3cc8a1087523e341ef9764e59008fa1e4b327b84 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 3 Aug 1999 07:43:42 +0000 Subject: (tail_forever): When following by name and calling recheck because of exceeding max_n_consecutive_size_changes_between_opens, `continue' so we don't fall through and (assuming the file finally grew) get the erroneous `file truncated' message. --- src/tail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/tail.c b/src/tail.c index e6f9b422c..8365a1354 100644 --- a/src/tail.c +++ b/src/tail.c @@ -862,7 +862,6 @@ tail_forever (struct File_spec *f, int nfiles) recheck (&f[i]); f[i].n_unchanged_stats = 0; } - continue; } @@ -877,6 +876,7 @@ tail_forever (struct File_spec *f, int nfiles) { f[i].n_consecutive_size_changes = 0; recheck (&f[i]); + continue; } /* This file has changed size. Print out what we can, and -- cgit v1.2.3