diff options
author | jraynard <jraynard@FreeBSD.org> | 1996-06-08 15:28:11 +0000 |
---|---|---|
committer | jraynard <jraynard@FreeBSD.org> | 1996-06-08 15:28:11 +0000 |
commit | 597045971fd87a3ae1c6855f643f69fa286c5a86 (patch) | |
tree | 23d0a98ce8efca3338fae7476201ffaaabdb5946 /lib/libc/stdlib/system.c | |
parent | f8b51172cd21c6d75310caf992b51de95352f7d4 (diff) | |
download | FreeBSD-src-597045971fd87a3ae1c6855f643f69fa286c5a86.zip FreeBSD-src-597045971fd87a3ae1c6855f643f69fa286c5a86.tar.gz |
Oops, replace a rather important line that was lost in transit 8-(
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 3bae36a..00db7d6 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; |