projects
/
rrdtool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ab1398
)
src/rrd_daemon.c: Instann the SIGTERM handler correctly.
author
Florian Forster
<octo@leeloo.home.verplant.org>
Thu, 3 Jul 2008 15:47:03 +0000
(17:47 +0200)
committer
Florian Forster
<octo@leeloo.home.verplant.org>
Thu, 3 Jul 2008 15:47:03 +0000
(17:47 +0200)
src/rrd_daemon.c
patch
|
blob
|
history
diff --git
a/src/rrd_daemon.c
b/src/rrd_daemon.c
index
3295c7e
..
7a80220
100644
(file)
--- a/
src/rrd_daemon.c
+++ b/
src/rrd_daemon.c
@@
-1494,7
+1494,7
@@
static int daemonize (void) /* {{{ */
memset (&sa_term, 0, sizeof (sa_term));
sa_term.sa_handler = sig_term_handler;
- sigaction (SIG
INT
, &sa_term, NULL);
+ sigaction (SIG
TERM
, &sa_term, NULL);
memset (&sa_pipe, 0, sizeof (sa_pipe));
sa_pipe.sa_handler = SIG_IGN;