diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2010-06-22 11:33:07 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-06-28 08:38:14 -0400 |
commit | 02a5cdc06cd78e9798b71a5d9ebb6d8bcc43d127 (patch) | |
tree | 475311762858bd1cdded8b45cb1b66525e804eb5 /src/util | |
parent | 01248645166911f3b3c19723f44a84c5a0599e34 (diff) | |
download | sssd-02a5cdc06cd78e9798b71a5d9ebb6d8bcc43d127.tar.gz sssd-02a5cdc06cd78e9798b71a5d9ebb6d8bcc43d127.tar.xz sssd-02a5cdc06cd78e9798b71a5d9ebb6d8bcc43d127.zip |
Resend SIGINT as SIGTERM in services
Fixes: #462
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/server.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/server.c b/src/util/server.c index 4b65da102..d55e971b4 100644 --- a/src/util/server.c +++ b/src/util/server.c @@ -262,6 +262,9 @@ static void setup_signals(void) /* We are no longer interested in USR1 */ BlockSignals(true, SIGUSR1); + /* We are no longer interested in SIGINT except for monitor */ + BlockSignals(true, SIGINT); + #if defined(SIGUSR2) /* We are no longer interested in USR2 */ BlockSignals(true, SIGUSR2); |