bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: set -e loses exit status


From: Chet Ramey
Subject: Re: set -e loses exit status
Date: Mon, 10 Mar 2014 20:54:11 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

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-bash-4.1
behavior for the next version.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]