Browse Source

the child process needs to ignore SIGHUP for now, otto

OPENBSD_3_6
henning 20 years ago
parent
commit
645e5a78aa
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/usr.sbin/ntpd/ntp.c

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

@ -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 <henning@openbsd.org>
@ -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]);


Loading…
Cancel
Save