summaryrefslogtreecommitdiff
path: root/signal.c
diff options
context:
space:
mode:
authorToby Goodwin <tjg@star.le.ac.uk>1999-05-12 16:47:55 +0100
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:22:09 +0100
commit2c998c165268f24f038e02f103e07a967b343c3f (patch)
tree0851688418368756c86fe2c16ab439c42fd5c302 /signal.c
parentf983e502ce8fc8d1d0289b8feb269218a70618e6 (diff)
beta: rc-1.5b6
Diffstat (limited to 'signal.c')
-rw-r--r--signal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/signal.c b/signal.c
index 1c59746..8535eab 100644
--- a/signal.c
+++ b/signal.c
@@ -97,5 +97,7 @@ extern void initsignal() {
h = sys_signal(SIGCLD, SIG_DFL);
if (h != SIG_IGN && h != SIG_ERR)
sys_signal(SIGCLD, h);
+ else
+ sighandlers[SIGCLD] = SIG_DFL;
#endif
}