diff options
Diffstat (limited to 'src/redis.c')
-rw-r--r-- | src/redis.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/redis.c b/src/redis.c index 3afe1601d..203d8d780 100644 --- a/src/redis.c +++ b/src/redis.c @@ -1761,7 +1761,8 @@ void initServer(void) { int j; signal(SIGHUP, SIG_IGN); - signal(SIGPIPE, SIG_IGN); + signal(SIGPIPE, SIG_IGN); /* No write(2) generated signals. */ + signal(SIGCHLD, SIG_DFL); /* We want zombies to queue for waitpid(). */ setupSignalHandlers(); if (server.syslog_enabled) { |