Browse Source

revert SIGQUIT catching; requested by deraadt

OPENBSD_4_3
fgsch 17 years ago
parent
commit
6cdd0c813d
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      src/usr.sbin/ntpd/ntpd.c

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

@ -1,4 +1,4 @@
/* $OpenBSD: ntpd.c,v 1.54 2007/12/04 11:06:49 fgsch Exp $ */
/* $OpenBSD: ntpd.c,v 1.55 2007/12/04 14:52:54 fgsch Exp $ */
/* /*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@ -56,7 +56,6 @@ sighdlr(int sig)
switch (sig) { switch (sig) {
case SIGTERM: case SIGTERM:
case SIGINT: case SIGINT:
case SIGQUIT:
quit = 1; quit = 1;
break; break;
case SIGCHLD: case SIGCHLD:
@ -163,7 +162,6 @@ main(int argc, char *argv[])
signal(SIGTERM, sighdlr); signal(SIGTERM, sighdlr);
signal(SIGINT, sighdlr); signal(SIGINT, sighdlr);
signal(SIGQUIT, sighdlr);
signal(SIGHUP, sighdlr); signal(SIGHUP, sighdlr);
close(pipe_chld[1]); close(pipe_chld[1]);


Loading…
Cancel
Save