diff options
Diffstat (limited to 'serverloop.c')
-rw-r--r-- | serverloop.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/serverloop.c b/serverloop.c index 5112de680..58e20dfb9 100644 --- a/serverloop.c +++ b/serverloop.c | |||
@@ -144,7 +144,9 @@ sigchld_handler(int sig) | |||
144 | int save_errno = errno; | 144 | int save_errno = errno; |
145 | debug("Received SIGCHLD."); | 145 | debug("Received SIGCHLD."); |
146 | child_terminated = 1; | 146 | child_terminated = 1; |
147 | #ifndef _UNICOS | ||
147 | mysignal(SIGCHLD, sigchld_handler); | 148 | mysignal(SIGCHLD, sigchld_handler); |
149 | #endif | ||
148 | notify_parent(); | 150 | notify_parent(); |
149 | errno = save_errno; | 151 | errno = save_errno; |
150 | } | 152 | } |