Re: [PATCH] Fix exit status of signal handlers in shell scripts

2010-02-06 Thread Ralf Wildenhues
Hello Dmitry, * Dmitry V. Levin wrote on Sat, Jan 30, 2010 at 08:21:19PM CET: > The value of `$?' on entrance to signal handlers in shell scripts > cannot be relied upon, so set the exit code explicitly to > 128 + SIGTERM == 143. > * lib/am/check.am (am__check_pre): Use `exit 143' in signal handle

[PATCH] Fix exit status of signal handlers in shell scripts

2010-01-30 Thread Dmitry V. Levin
The value of `$?' on entrance to signal handlers in shell scripts cannot be relied upon, so set the exit code explicitly to 128 + SIGTERM == 143. * lib/am/check.am (am__check_pre): Use `exit 143' in signal handler. * lib/elisp-comp: Likewise. * lib/install-sh: Likewise. * lib/ylwrap: Likewise. ---