[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] tail: always fail when followed files become inaccessible
From: |
Glenn Golden |
Subject: |
Re: [PATCH] tail: always fail when followed files become inaccessible |
Date: |
Fri, 20 Dec 2024 08:33:55 -0700 |
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?