From: Guus Sliepen Date: Fri, 2 Aug 2013 18:50:19 +0000 (+0200) Subject: Clean up the SIGINT handler. X-Git-Tag: import-tinc-1.1~110 X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=1e7d1cd3c72cc478482fb75b15f9f50745b68504;p=meshlink Clean up the SIGINT handler. --- diff --git a/src/net.c b/src/net.c index 8a63615d..794bb73f 100644 --- a/src/net.c +++ b/src/net.c @@ -454,9 +454,10 @@ int main_loop(void) { #ifndef HAVE_MINGW signal_del(&sighup); - signal_del(&sigalrm); - signal_del(&sigquit); signal_del(&sigterm); + signal_del(&sigquit); + signal_del(&sigint); + signal_del(&sigalrm); #endif timeout_del(&periodictimer);