| Date: Wed, 29 Aug 2018 20:03:49 +0200
don't exit on SIGHUP
SIGHUP is normally often used in daemons to reload the config and/or reopen log
files.
This was noticed on OpenBSD not starting the geomyidae server on boot. The
init implementations on OpenBSD, NetBSD and possibly others send SIGHUP to
processes in a boot transition period.
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Diffstat:
main.c | 1 -
1 file changed, 0 insertions(+), 1 deletion(-)
--- |
| t@@ -256,7 +256,6 @@ sighandler(int sig)
case SIGCHLD:
while (waitpid(-1, NULL, WNOHANG) > 0);
break;
- case SIGHUP:
case SIGINT:
case SIGQUIT:
case SIGABRT: |