bug-gnulib
[Top][All Lists]
Advanced

[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

Attachment: pgpTjTokeiND8.pgp
Description: PGP signature


reply via email to

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