ash: re-enable SIGHUP on entry. Closes bug 771.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2009-12-04 04:18:31 +01:00
parent 6b5accbfc1
commit 7a7b034482

View File

@ -13016,6 +13016,10 @@ init(void)
/* from trap.c: */
signal(SIGCHLD, SIG_DFL);
/* bash re-enables SIGHUP which is SIG_IGNed on entry.
* Try: "trap '' HUP; bash; echo RET" and type "kill -HUP $$"
*/
signal(SIGHUP, SIG_DFL);
/* from var.c: */
{