From 90842c23a29aea65aa29904bdd06c2b75d5cc9e3 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Sun, 13 Mar 2016 16:44:58 +0100 Subject: kike: fix daemonization on *BSD Bump liberty. --- kike.c | 2 ++ liberty | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 diff --git a/liberty b/liberty index 9bff16f..365aed4 160000 --- a/liberty +++ b/liberty @@ -1 +1 @@ -Subproject commit 9bff16f5ec777d3f4a9f7e8e8140907f3b404fa2 +Subproject commit 365aed456e7ce31ba08e7d46bbb2402afc8256cf -- cgit v1.2.3-70-g09d2