16 Mar
2013
16 Mar
'13
10:33 p.m.
From: Holger Hans Peter Freyther <zecke@selfish.org> Make the code handle SIGTERM. This way the pcu can be easily stopped with a sysvinit script. --- src/pcu_main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pcu_main.cpp b/src/pcu_main.cpp index f135cfd..4fae14b 100644 --- a/src/pcu_main.cpp +++ b/src/pcu_main.cpp @@ -114,6 +114,7 @@ void sighandler(int sigset) switch (sigset) { case SIGINT: + case SIGTERM: /* If another signal is received afterwards, the program * is terminated without finishing shutdown process. */ -- 1.7.10.4