summaryrefslogtreecommitdiffstats
path: root/sesman
diff options
context:
space:
mode:
authorKoichiro IWAO <meta@vmeta.jp>2016-04-11 16:43:12 +0900
committerKoichiro IWAO <meta@vmeta.jp>2016-04-11 16:43:12 +0900
commitcfdce461c3f12183da4094296139197ad2a6cb45 (patch)
tree46076a7def55b6fc51505943e03b2d9e74d360b0 /sesman
parent87208db090baba3b3249b31b50ace5fb78f44d60 (diff)
downloadxrdp-proprietary-cfdce461c3f12183da4094296139197ad2a6cb45.tar.gz
xrdp-proprietary-cfdce461c3f12183da4094296139197ad2a6cb45.zip
Do not attempt to trap SIGKILL part 2
it doesn't work on any OS.
Diffstat (limited to 'sesman')
-rw-r--r--sesman/sig.c6
1 files changed, 0 insertions, 6 deletions
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);