From 02a5cdc06cd78e9798b71a5d9ebb6d8bcc43d127 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Tue, 22 Jun 2010 11:33:07 +0200 Subject: Resend SIGINT as SIGTERM in services Fixes: #462 --- src/monitor/monitor.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/monitor/monitor.c') diff --git a/src/monitor/monitor.c b/src/monitor/monitor.c index bda45dc47..41eadf52a 100644 --- a/src/monitor/monitor.c +++ b/src/monitor/monitor.c @@ -1779,6 +1779,7 @@ int monitor_process_init(struct mt_ctx *ctx, } /* Set up an event handler for a SIGINT */ + BlockSignals(false, SIGINT); tes = tevent_add_signal(ctx->ev, ctx, SIGINT, 0, monitor_quit, ctx); if (tes == NULL) { -- cgit