mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-14 07:46:28 +02:00
(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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user