|
From: | Chet Ramey |
Subject: | Re: wrong status from exit in trap |
Date: | Tue, 21 Oct 2003 14:35:22 -0400 |
User-agent: | Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.4) Gecko/20030624 |
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 Thread] | Current Thread | [Next in Thread] |