summaryrefslogtreecommitdiffstats
path: root/ulogd/ulogd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ulogd/ulogd.c')
-rw-r--r--ulogd/ulogd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ulogd/ulogd.c b/ulogd/ulogd.c
index 9367640..28ec6cc 100644
--- a/ulogd/ulogd.c
+++ b/ulogd/ulogd.c
@@ -757,7 +757,8 @@ int main(int argc, char* argv[])
setsid();
}
- signal(SIGTERM, &sigterm_handler);
+ /* send SIGINT to the term handler, since they hit CTRL-C */
+ signal(SIGINT, &sigterm_handler);
signal(SIGHUP, &sighup_handler);
ulogd_log(ULOGD_NOTICE,