Browse Source

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
OPENBSD_3_7
henning 20 years ago
parent
commit
e409afcfa7
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/usr.sbin/ntpd/ntpd.c

+ 2
- 2
src/usr.sbin/ntpd/ntpd.c View File

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


Loading…
Cancel
Save