ash: re-enable SIGHUP on entry. Closes bug 771.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
6b5accbfc1
commit
7a7b034482
@ -13016,6 +13016,10 @@ init(void)
|
|||||||
|
|
||||||
/* from trap.c: */
|
/* from trap.c: */
|
||||||
signal(SIGCHLD, SIG_DFL);
|
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: */
|
/* from var.c: */
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user