[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bash-bug
Subject:    Re: wrong status from exit in trap
From:       Chet Ramey <chet () cwru ! edu>
Date:       2003-10-21 18:35:22
Message-ID: 3F957C6A.8060604 () po ! case ! edu
[Download RAW message or body]

Gregg Townsend wrote:

> Machine Type: i386-redhat-linux-gnu
> 
> Bash Version: 2.05b
> Patch Level: 0
> Release Status: release
> 
> Description:
> 	According to POSIX, an exit command within a trap should use
> 	the status of the last command preceding the trap if no value
> 	is specified.  However, it appears that bash is using the
> 	status of the last command within the trap.

Thanks, this has been fixed.

Chet




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic