From 645e5a78aa8aa1e5c0ee7105ab28bea57a7c1e0f Mon Sep 17 00:00:00 2001 From: henning <> Date: Fri, 9 Jul 2004 12:21:09 +0000 Subject: [PATCH] the child process needs to ignore SIGHUP for now, otto --- src/usr.sbin/ntpd/ntp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/usr.sbin/ntpd/ntp.c b/src/usr.sbin/ntpd/ntp.c index 636bc2c4..6bf01eac 100644 --- a/src/usr.sbin/ntpd/ntp.c +++ b/src/usr.sbin/ntpd/ntp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ntp.c,v 1.19 2004/07/09 10:53:33 henning Exp $ */ +/* $OpenBSD: ntp.c,v 1.20 2004/07/09 12:21:09 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -102,6 +102,7 @@ ntp_main(int pipe_prnt[2], struct ntpd_conf *conf) signal(SIGTERM, ntp_sighdlr); signal(SIGINT, ntp_sighdlr); signal(SIGPIPE, SIG_IGN); + signal(SIGHUP, SIG_IGN); close(pipe_prnt[0]); imsg_init(&ibuf_main, pipe_prnt[1]);