1
0
Fork 0
mirror of git://slackware.nl/current.git synced 2025-02-16 09:34:21 +01:00
slackware-current/source/ap/ash/patches/ash-sighup.patch

19 lines
518 B
Diff
Raw Normal View History

--- 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);