aboutsummaryrefslogtreecommitdiffhomepage
path: root/exec.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2005-10-06 21:54:16 +1000
committerGravatar axel <axel@liljencrantz.se>2005-10-06 21:54:16 +1000
commit2ac6b62df2b4ce1e2c1a8afeea1ce1c9cf4b70f4 (patch)
tree05f9769924ba068c0c673243bd5ce2b046fddcbd /exec.c
parent3b02b76c7989ff664b055316b1f1559ae99f350b (diff)
Various updates to signal event handling
darcs-hash:20051006115416-ac50b-ab0a1be946f758cfdeaa5dfe172f417acb9b6e79.gz
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/exec.c b/exec.c
index b3d34a73..f9f922ef 100644
--- a/exec.c
+++ b/exec.c
@@ -391,12 +391,7 @@ static void setup_child_process( job_t *j )
}
/* Set the handling for job control signals back to the default. */
- signal (SIGINT, SIG_DFL);
- signal (SIGQUIT, SIG_DFL);
- signal (SIGTSTP, SIG_DFL);
- signal (SIGTTIN, SIG_DFL);
- signal (SIGTTOU, SIG_DFL);
- signal (SIGCHLD, SIG_DFL);
+ signal_reset_handlers();
sigset_t chldset;
sigemptyset( &chldset );