X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_daemon.c;h=7a802203d140c22681ededf50de9ced3eec128d6;hp=3295c7eb3c9053c1386427cebef02a80db604e7a;hb=0f56f88a65b4e0eba572afcc55be8ca4f9902812;hpb=8ab13984159cb917aa7301e3dc491b6a82d4340f diff --git a/src/rrd_daemon.c b/src/rrd_daemon.c index 3295c7e..7a80220 100644 --- 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 (SIGINT, &sa_term, NULL); + sigaction (SIGTERM, &sa_term, NULL); memset (&sa_pipe, 0, sizeof (sa_pipe)); sa_pipe.sa_handler = SIG_IGN;