The handler for SIGTERM now handles also SIGINT. Very comfortable.
authorviric@mandarina
Sun, 14 May 2006 21:13:42 +0200
changeset 36 c6f7b56729d9
parent 35 6b6bbc8a5fdb
child 37 2db8451df601
The handler for SIGTERM now handles also SIGINT. Very comfortable.
syslog_kernel.c
--- a/syslog_kernel.c	Sun May 14 21:11:29 2006 +0200
+++ b/syslog_kernel.c	Sun May 14 21:13:42 2006 +0200
@@ -286,6 +286,7 @@
 {
 	program_child_handler(child_handler);
 	program_handler(SIGTERM, term_handler);
+	program_handler(SIGINT, term_handler);
 }
 
 static void term_childs()