diff options
author | 2009-02-10 16:41:39 +0000 | |
---|---|---|
committer | 2009-02-10 16:41:39 +0000 | |
commit | a0e1807cefb92fce4601a967d17f47c15c9c98f6 (patch) | |
tree | a57692a55f9adaa2e97a9f009271b4a60e96954e | |
parent | Ops, forgot to update package files list. (diff) | |
download | wireguard-openbsd-a0e1807cefb92fce4601a967d17f47c15c9c98f6.tar.xz wireguard-openbsd-a0e1807cefb92fce4601a967d17f47c15c9c98f6.zip |
endservent() not needed here; ok henning@
-rw-r--r-- | usr.sbin/ntpd/ntp_dns.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/ntpd/ntp_dns.c b/usr.sbin/ntpd/ntp_dns.c index 1243f205f0d..13e43e20791 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.1 2008/09/12 10:46:09 henning Exp $ */ +/* $OpenBSD: ntp_dns.c,v 1.2 2009/02/10 16:41:39 stevesk Exp $ */ /* * Copyright (c) 2003-2008 Henning Brauer <henning@openbsd.org> @@ -75,7 +75,6 @@ ntp_dns(int pipe_ntp[2], struct ntpd_conf *nconf, struct passwd *pw) setresgid(pw->pw_gid, pw->pw_gid, pw->pw_gid) || setresuid(pw->pw_uid, pw->pw_uid, pw->pw_uid)) fatal("can't drop privileges"); - endservent(); signal(SIGTERM, sighdlr_dns); signal(SIGINT, sighdlr_dns); |