On 9/24/26 11:10 PM, Martin D Kealey wrote:
The significant change isn't any combination of «set -e», «set -o errexit» and/or «shopt -s execfail», but rather the insertion of «exec».
Well, indirectly I suppose. It's `execfail' that makes the difference, and that option is only relevant to the behavior of `exec'.
The "exit on failure" is one of the minor differences between an interactive shell and a non-interactive one
This is the behavior that `execfail' modifies.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc
Description: OpenPGP digital signature
