summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlaforge <laforge>2005-02-11 08:09:53 +0000
committerlaforge <laforge>2005-02-11 08:09:53 +0000
commit3249b84bfded2d8edfaf52c77752370faa295831 (patch)
tree1176fdae02c5b89aab5af6dd17858ca7c79bd2be
parenteb704cb5c7ea33b728419790e703498bf6eb4f9a (diff)
Re-Adding SIGTERM handler that was lost in Version 671 (Ben La Monica)
-rw-r--r--ulogd/ulogd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ulogd/ulogd.c b/ulogd/ulogd.c
index 28ec6cc..0c93256 100644
--- a/ulogd/ulogd.c
+++ b/ulogd/ulogd.c
@@ -760,6 +760,7 @@ int main(int argc, char* argv[])
/* send SIGINT to the term handler, since they hit CTRL-C */
signal(SIGINT, &sigterm_handler);
signal(SIGHUP, &sighup_handler);
+ signal(SIGTERM, &sigterm_handler);
ulogd_log(ULOGD_NOTICE,
"initialization finished, entering main loop\n");