summaryrefslogtreecommitdiff
path: root/src/monitor
diff options
context:
space:
mode:
Diffstat (limited to 'src/monitor')
-rw-r--r--src/monitor/monitor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/monitor/monitor.c b/src/monitor/monitor.c
index bda45dc4..41eadf52 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) {