diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2003-12-22 11:11:28 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2003-12-22 11:11:28 +0000 |
commit | 0e922b36d161eb9f565830e475d9957ee52a436c (patch) | |
tree | 81901a441b228b037f8e734dd9131561a4493b11 /usr.sbin/bgpd | |
parent | f37136c04667a65088522d00d57a167e7dceb5ba (diff) |
No need to setup a signal handler for SIGKILL as you can't catch it anyway.
Diffstat (limited to 'usr.sbin/bgpd')
-rw-r--r-- | usr.sbin/bgpd/bgpd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/bgpd/bgpd.c b/usr.sbin/bgpd/bgpd.c index 091b24fdf67..d4af64ed7a5 100644 --- a/usr.sbin/bgpd/bgpd.c +++ b/usr.sbin/bgpd/bgpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.c,v 1.14 2003/12/22 11:04:12 henning Exp $ */ +/* $OpenBSD: bgpd.c,v 1.15 2003/12/22 11:11:25 miod Exp $ */ /* * Copyright (c) 2003 Henning Brauer <henning@openbsd.org> @@ -52,7 +52,6 @@ sighdlr(int sig) { switch (sig) { case SIGTERM: - case SIGKILL: case SIGINT: case SIGCHLD: quit = 1; @@ -140,7 +139,6 @@ main(int argc, char *argv[]) exit (1); signal(SIGTERM, sighdlr); - signal(SIGKILL, sighdlr); signal(SIGINT, sighdlr); signal(SIGCHLD, sighdlr); signal(SIGHUP, sighdlr); |