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