kike: fix daemonization on *BSD
Bump liberty.
This commit is contained in:
2
kike.c
2
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
|
||||
|
||||
2
liberty
2
liberty
Submodule liberty updated: 9bff16f5ec...365aed456e
Reference in New Issue
Block a user