diff options
author | James Raynard <jraynard@FreeBSD.org> | 1996-06-08 15:28:11 +0000 |
---|---|---|
committer | James Raynard <jraynard@FreeBSD.org> | 1996-06-08 15:28:11 +0000 |
commit | 1638d6b6d5326b37d996ce49fb54ddfc3bc16ad0 (patch) | |
tree | 23d0a98ce8efca3338fae7476201ffaaabdb5946 /lib/libc/stdlib/system.c | |
parent | d4aa23722843d20ec5537fa1ac14e4e8f1345fe1 (diff) |
Notes
Diffstat (limited to 'lib/libc/stdlib/system.c')
-rw-r--r-- | lib/libc/stdlib/system.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdlib/system.c b/lib/libc/stdlib/system.c index 3bae36ae4c62..00db7d6ce968 100644 --- a/lib/libc/stdlib/system.c +++ b/lib/libc/stdlib/system.c @@ -65,7 +65,8 @@ int system(command) (void)sigaction(SIGINT, &ign, &intact); (void)sigaction(SIGQUIT, &ign, &quitact); (void)sigemptyset(&newsigblock); - sigprocmask(SIG_BLOCK, &newsigblock, &oldsigblock); + (void)sigaddset(&newsigblock, SIGCHLD); + (void)sigprocmask(SIG_BLOCK, &newsigblock, &oldsigblock); switch(pid = fork()) { case -1: /* error */ break; |