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]);