[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] incorrect exit status from subshell on bash with --enable-mini
From: |
Chet Ramey |
Subject: |
Re: [BUG] incorrect exit status from subshell on bash with --enable-minimal-config |
Date: |
Fri, 23 Sep 2016 11:07:00 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 |
On 9/21/16 7:06 PM, Martijn Dekker wrote:
> On bash with --enable-minimal-config, as of version 4.3 (as far as I can
> tell), there appears to be a bug with the exit status on returning from
> subshells. Apparently the exit status of the subshell is not given to
> the main shell.
Thanks for the report. This is related to
http://lists.gnu.org/archive/html/bug-bash/2016-08/msg00003.html
but affects only those builds without job control. I will fix it in the
devel branch with the next push.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/