summaryrefslogtreecommitdiffstats
path: root/src/monitor/monitor.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2010-06-22 11:33:07 +0200
committerStephen Gallagher <sgallagh@redhat.com>2010-06-28 08:38:14 -0400
commit02a5cdc06cd78e9798b71a5d9ebb6d8bcc43d127 (patch)
tree475311762858bd1cdded8b45cb1b66525e804eb5 /src/monitor/monitor.c
parent01248645166911f3b3c19723f44a84c5a0599e34 (diff)
downloadsssd-02a5cdc06cd78e9798b71a5d9ebb6d8bcc43d127.tar.gz
sssd-02a5cdc06cd78e9798b71a5d9ebb6d8bcc43d127.tar.xz
sssd-02a5cdc06cd78e9798b71a5d9ebb6d8bcc43d127.zip
Resend SIGINT as SIGTERM in services
Fixes: #462
Diffstat (limited to 'src/monitor/monitor.c')
-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 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) {