Browse Source

kike: fix daemonization on *BSD

Bump liberty.
tags/v0.9.3
Přemysl Janouch 4 years ago
parent
commit
90842c23a2
2 changed files with 3 additions and 1 deletions
  1. +2
    -0
      kike.c
  2. +1
    -1
      liberty

+ 2
- 0
kike.c View File

@@ -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

+ 1
- 1
liberty

@@ -1 +1 @@
Subproject commit 9bff16f5ec777d3f4a9f7e8e8140907f3b404fa2
Subproject commit 365aed456e7ce31ba08e7d46bbb2402afc8256cf

Loading…
Cancel
Save