summaryrefslogtreecommitdiff
path: root/kike.c
diff options
context:
space:
mode:
Diffstat (limited to 'kike.c')
-rw-r--r--kike.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kike.c b/kike.c
index 2f6523b..ce5bc1f 100644
--- a/kike.c
+++ b/kike.c
@@ -3988,6 +3988,8 @@ daemonize (struct server_context *ctx)
int tty = open ("/dev/null", O_RDWR);
if (tty != 0 || dup (0) != 1 || dup (0) != 2)
exit_fatal ("failed to reopen FD's: %s", strerror (errno));
+
+ poller_post_fork (&ctx->poller);
}
int