From 0e922b36d161eb9f565830e475d9957ee52a436c Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Mon, 22 Dec 2003 11:11:28 +0000 Subject: No need to setup a signal handler for SIGKILL as you can't catch it anyway. --- usr.sbin/bgpd/bgpd.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'usr.sbin/bgpd') 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 @@ -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); -- cgit v1.2.3