Re: set -e loses exit status

2014-03-10 Thread Dennis Lambe Jr.
Quoting Chet Ramey : I will change back to the pre-bash-4.1 behavior for the next version. That's fantastic. Thank you! There really isn't any requirement other than the exit status be non-zero Since I bothered to dig through the standard, I'll document what I found here in case it's use

Re: set -e loses exit status

2014-03-10 Thread Chet Ramey
On 3/10/14, 2:32 PM, Dennis Lambe Jr. wrote: > When set -e is in effect in a subshell, the exit status of commands, > functions, and sub-subshells is converted to 1. Thanks for the report. There really isn't any requirement other than the exit status be non-zero, but I will change back to the pre