From cfdce461c3f12183da4094296139197ad2a6cb45 Mon Sep 17 00:00:00 2001 From: Koichiro IWAO Date: Mon, 11 Apr 2016 16:43:12 +0900 Subject: Do not attempt to trap SIGKILL part 2 it doesn't work on any OS. --- sesman/sig.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'sesman') diff --git a/sesman/sig.c b/sesman/sig.c index d881515b..b10be5fb 100644 --- a/sesman/sig.c +++ b/sesman/sig.c @@ -158,7 +158,6 @@ sig_handler_thread(void *arg) sigaddset(&waitmask, SIGHUP); sigaddset(&waitmask, SIGCHLD); sigaddset(&waitmask, SIGTERM); - sigaddset(&waitmask, SIGKILL); sigaddset(&waitmask, SIGINT); // sigaddset(&waitmask, SIGFPE); @@ -188,11 +187,6 @@ sig_handler_thread(void *arg) LOG_DBG("sesman received SIGINT", 0); sig_sesman_shutdown(recv_signal); break; - case SIGKILL: - /* we die */ - LOG_DBG("sesman received SIGKILL", 0); - sig_sesman_shutdown(recv_signal); - break; case SIGTERM: /* we die */ LOG_DBG("sesman received SIGTERM", 0); -- cgit v1.2.1