[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: return exit code in EXIT trap
From: |
Chet Ramey |
Subject: |
Re: return exit code in EXIT trap |
Date: |
Tue, 2 Aug 2022 15:55:39 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 |
On 8/2/22 3:38 PM, Robert E. Griffith wrote:
> Is it known behavior that return without a parameter will not set the exit
> code from the last command when called from the EXIT trap?
https://getyarn.io/_nuxt/f66cb012eec875e1f9262fd77ecdf31e.svg
https://lists.gnu.org/archive/html/bug-bash/2020-04/msg00089.html
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
- return exit code in EXIT trap, Robert E. Griffith, 2022/08/02
- Re: return exit code in EXIT trap,
Chet Ramey <=
- Re: return exit code in EXIT trap, Robert E. Griffith, 2022/08/02
- Re: return exit code in EXIT trap, Chet Ramey, 2022/08/02
- Re: return exit code in EXIT trap, Robert E. Griffith, 2022/08/02
- Re: return exit code in EXIT trap, Koichi Murase, 2022/08/02
- Re: return exit code in EXIT trap, Robert E. Griffith, 2022/08/03
- Re: return exit code in EXIT trap, Koichi Murase, 2022/08/05
- Re: return exit code in EXIT trap, Robert E. Griffith, 2022/08/06
- Re: return exit code in EXIT trap, Robert Elz, 2022/08/06
- Re: return exit code in EXIT trap, Robert E. Griffith, 2022/08/06
- Re: return exit code in EXIT trap, Koichi Murase, 2022/08/06