On Thursday, September 25, 2025, Jean-Jacques Brucker via Bug reports for
the GNU Bourne Again SHell <bug-bash@gnu.org> wrote:
>
> That is weird and confusing.
>
How? Failed commands don't trigger errexit when their exit statuses are
controlled. If you need a list of such situations, POSIX has one here
https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap02.html#tag_19_26
--
Oğuz