aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-12-04 04:18:31 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-12-04 04:18:31 +0100
commit7a7b034482b1ecf4f9924160757339958f1f95d1 (patch)
treed6d94edd1b8de80fcdbdd876407752dcc4456b85
parent6b5accbfc1f721c5c34b8a3bfad07a19053946d0 (diff)
downloadbusybox-w32-7a7b034482b1ecf4f9924160757339958f1f95d1.tar.gz
busybox-w32-7a7b034482b1ecf4f9924160757339958f1f95d1.tar.bz2
busybox-w32-7a7b034482b1ecf4f9924160757339958f1f95d1.zip
ash: re-enable SIGHUP on entry. Closes bug 771.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--shell/ash.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c
index cf406a42e..5d0fc6d29 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -13016,6 +13016,10 @@ init(void)
13016 13016
13017 /* from trap.c: */ 13017 /* from trap.c: */
13018 signal(SIGCHLD, SIG_DFL); 13018 signal(SIGCHLD, SIG_DFL);
13019 /* bash re-enables SIGHUP which is SIG_IGNed on entry.
13020 * Try: "trap '' HUP; bash; echo RET" and type "kill -HUP $$"
13021 */
13022 signal(SIGHUP, SIG_DFL);
13019 13023
13020 /* from var.c: */ 13024 /* from var.c: */
13021 { 13025 {