diff options
author | jnweiger <jnweiger> | 2005-12-16 18:44:47 +0000 |
---|---|---|
committer | jnweiger <jnweiger> | 2005-12-16 18:44:47 +0000 |
commit | 6eef401287c27de95b7a5cb78417caf2daae6471 (patch) | |
tree | 2dac0f551f18c45c25c3895e1e4c3a33d365ec97 /src/attacher.c | |
parent | f78f9e82605ea683021b074c23524c5c4d3d7aea (diff) | |
download | screen-6eef401287c27de95b7a5cb78417caf2daae6471.tar.gz |
old version screen-4.0.0 Jul 21 2003
Diffstat (limited to 'src/attacher.c')
-rw-r--r-- | src/attacher.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/attacher.c b/src/attacher.c index 93f298c..23bf7ea 100644 --- a/src/attacher.c +++ b/src/attacher.c @@ -660,7 +660,7 @@ LockTerminal() sigret_t (*sigs[NSIG])__P(SIGPROTOARG); for (sig = 1; sig < NSIG; sig++) - sigs[sig] = signal(sig, SIG_IGN); + sigs[sig] = signal(sig, sig == SIGCHLD ? SIG_DFL : SIG_IGN); signal(SIGHUP, LockHup); printf("\n"); |