[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Fix exit status of signal handlers in shell scripts
From: |
Dmitry V. Levin |
Subject: |
Re: [PATCH] Fix exit status of signal handlers in shell scripts |
Date: |
Sun, 31 Jan 2010 03:36:23 +0300 |
On Sun, Jan 31, 2010 at 01:22:34AM +0100, Bruno Haible wrote:
> Here is part 2 of the proposed fixes.
[...]
> -trap 'rm -fr $tmpfiles' 1 2 3 15
> +trap 'rm -fr $tmpfiles; exit 77' 1 2 3 15
According to "Limitations of Builtins" chapter in the autoconf
manual, plain "exit 77" is not portable; it has to be written
as "(exit 77); exit 77".
--
ldv
pgpTjTokeiND8.pgp
Description: PGP signature
- [PATCH] Fix exit status of signal handlers in shell scripts, Dmitry V. Levin, 2010/01/30
- Re: [PATCH] Fix exit status of signal handlers in shell scripts, Bruno Haible, 2010/01/30
- Re: [PATCH] Fix exit status of signal handlers in shell scripts, Bruno Haible, 2010/01/30
- Re: [PATCH] Fix exit status of signal handlers in shell scripts,
Dmitry V. Levin <=
- Re: [PATCH] Fix exit status of signal handlers in shell scripts, Bruno Haible, 2010/01/30
- Re: [PATCH] Fix exit status of signal handlers in shell scripts, Ralf Wildenhues, 2010/01/31