From 721974391f6424f40edcd4ee079cf80515902a88 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Wed, 5 Jul 2017 15:05:06 +0200 Subject: [PATCH] mxqd: Remove obsolete signal() calls in reaper Now hat all signals are blocked, we don't need to ignore them. --- mxqd.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/mxqd.c b/mxqd.c index f3de16b0..e8449552 100644 --- a/mxqd.c +++ b/mxqd.c @@ -1061,12 +1061,6 @@ int reaper_process(struct mxq_server *server,struct mxq_group_list *glist, struc reset_signals(); - signal(SIGINT, SIG_IGN); - signal(SIGTERM, SIG_IGN); - signal(SIGQUIT, SIG_IGN); - signal(SIGHUP, SIG_IGN); - signal(SIGXCPU, SIG_IGN); - res = setsid(); if (res < 0) { mx_log_warning("reaper_process setsid: %m");