summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-11-04 23:04:23 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-11-04 23:04:23 +0000
commit4b7ba72f61f90c1ca8970d7f0a4f0cc9acb6ae9c (patch)
treea90e82241408c984cb5eb63eec625a22c67145a7 /usr.sbin/ntpd
parent49cb92135f17f7ee271df84b36c0bbb5bf0e8554 (diff)
use SIG_DFL instead of SIG_IGN when we are not interested in SIG_CHILD
anymore, same thing for us and it makes darren's life easier for the portable
Diffstat (limited to 'usr.sbin/ntpd')
-rw-r--r--usr.sbin/ntpd/ntpd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ntpd/ntpd.c b/usr.sbin/ntpd/ntpd.c
index bedfa073a54..99f035cf3a1 100644
--- a/usr.sbin/ntpd/ntpd.c
+++ b/usr.sbin/ntpd/ntpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ntpd.c,v 1.22 2004/09/23 01:53:07 henning Exp $ */
+/* $OpenBSD: ntpd.c,v 1.23 2004/11/04 23:04:22 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -195,7 +195,7 @@ main(int argc, char *argv[])
}
- signal(SIGCHLD, SIG_IGN);
+ signal(SIGCHLD, SIG_DFL);
if (chld_pid)
kill(chld_pid, SIGTERM);