summaryrefslogtreecommitdiffstats
path: root/source/ap/ash/patches/ash-sighup.patch
blob: b4d1bc041b4e77e6ac4dc3346528da98188f0428 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- ash-0.4.0/jobs.c.orig	Tue Jul  3 19:10:28 2001
+++ ash-0.4.0/jobs.c	Tue Jul  3 19:12:11 2001
@@ -712,6 +712,7 @@
 		} else if (mode == FORK_BG) {
 			ignoresig(SIGINT);
 			ignoresig(SIGQUIT);
+			ignoresig(SIGHUP);
 			if ((jp == NULL || jp->nprocs == 0) &&
 			    ! fd0_redirected_p ()) {
 				close(0);
@@ -723,6 +724,7 @@
 		if (mode == FORK_BG) {
 			ignoresig(SIGINT);
 			ignoresig(SIGQUIT);
+			ignoresig(SIGHUP);
 			if ((jp == NULL || jp->nprocs == 0) &&
 			    ! fd0_redirected_p ()) {
 				close(0);