Re: [PATCH] t0005: work around strange $? in ksh when program terminated by a signal
From: Jonathan Nieder <hidden> Date: 2016-06-15 22:49:06
Johannes Sixt wrote:
ksh is known to report $? of programs that terminated by a signal as
256 + signal number instead of 128 + signal number like other POSIX
compliant shells. (ksh's behavior is still POSIX compliant in this regard.)
This patch works for me.
$ ksh t0005-signals.sh
* ok 1: sigchain works
* passed all 1 test(s)
Thanks for the explanation.