diff options
author | laforge <laforge> | 2005-02-09 15:01:25 +0000 |
---|---|---|
committer | laforge <laforge> | 2005-02-09 15:01:25 +0000 |
commit | 8464a08c1a773d084adc1ff522726ba2ab653b8c (patch) | |
tree | 36a4884663a8faa5d904302ea148ee1f92d35930 /ulogd/ulogd.c | |
parent | 6a7f47731961180880cb9d47748ad208d309fb51 (diff) |
add SQLITE3 support (ported from ulogd-1.02 patch by Ben La Monica)
Diffstat (limited to 'ulogd/ulogd.c')
-rw-r--r-- | ulogd/ulogd.c | 3 |
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, |