summaryrefslogtreecommitdiff
path: root/src/tail.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-08-03 07:43:42 +0000
committerJim Meyering <jim@meyering.net>1999-08-03 07:43:42 +0000
commit3cc8a1087523e341ef9764e59008fa1e4b327b84 (patch)
treed1bfe456b23e0dfc88e90adbe1b452c78ca84730 /src/tail.c
parentdd7bb02a996f9e6e1084359117fba61967e37e50 (diff)
downloadcoreutils-3cc8a1087523e341ef9764e59008fa1e4b327b84.tar.xz
(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.
Diffstat (limited to 'src/tail.c')
-rw-r--r--src/tail.c2
1 files changed, 1 insertions, 1 deletions
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