coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] tail: always fail when followed files become inaccessible


From: Pádraig Brady
Subject: Re: [PATCH] tail: always fail when followed files become inaccessible
Date: Fri, 20 Dec 2024 21:19:22 +0000
User-agent: Mozilla Thunderbird Beta

On 20/12/2024 15:33, Glenn Golden wrote:

On Fri, Dec 20, 2024, at 07:51, Pádraig Brady wrote:
* src/tail.c (tail forever): Exit with failure status
like we do for the inotify case.  This is also consistent
with the failure exit if no file was accessible at tail startup.
* tests/tail/follow-stdin.sh: Tweak due to earlier exit.
* tests/tail/follow-name.sh: Test with and without inotify.
* NEWS: Mention the bug fix.
    [ ... ]

Q: Will this patch affect the behavior of "tail --follow=myfile --retry"
    in the case where myfile is a device special file, and the intent is
    to keep watching it until it re-appears?
No, the --retry is a separate case.

cheers,
Pádraig



reply via email to

[Prev in Thread] Current Thread [Next in Thread]