diff options
author | 2015-03-24 18:25:27 +0000 | |
---|---|---|
committer | 2015-03-24 18:25:27 +0000 | |
commit | 892d8569382dc59a209f4ade94e1deb278f4b0a4 (patch) | |
tree | da3a9e14f902e49082e860d74d494d65ccfd4e7f | |
parent | Work around broken device-tree in PowerMac7,2 and PowerMac7,3 (K2 systems) (diff) | |
download | wireguard-openbsd-892d8569382dc59a209f4ade94e1deb278f4b0a4.tar.xz wireguard-openbsd-892d8569382dc59a209f4ade94e1deb278f4b0a4.zip |
instead of routing SIGHUP thru sighdlr_dns() which then ignores it,
ignore it directly. no functional change. Rafael Neves rafaelneves at gmail
-rw-r--r-- | usr.sbin/ntpd/ntp_dns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ntpd/ntp_dns.c b/usr.sbin/ntpd/ntp_dns.c index 08cdb13ff3d..4a63bffe558 100644 --- a/usr.sbin/ntpd/ntp_dns.c +++ b/usr.sbin/ntpd/ntp_dns.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ntp_dns.c,v 1.9 2015/02/12 01:54:57 reyk Exp $ */ +/* $OpenBSD: ntp_dns.c,v 1.10 2015/03/24 18:25:27 henning Exp $ */ /* * Copyright (c) 2003-2008 Henning Brauer <henning@openbsd.org> @@ -84,7 +84,7 @@ ntp_dns(int pipe_ntp[2], struct ntpd_conf *nconf, struct passwd *pw) signal(SIGTERM, sighdlr_dns); signal(SIGINT, sighdlr_dns); - signal(SIGHUP, sighdlr_dns); + signal(SIGHUP, SIG_IGN); if ((ibuf_dns = malloc(sizeof(struct imsgbuf))) == NULL) fatal(NULL); |