28 Feb
2007
28 Feb
'07
9:21 a.m.
On Mon, 2007-02-26 at 03:26 +0000, Bryan Henderson wrote:
If you send a SIGINT signal to Syslog-ng, it issues the message
SIGTERM received, terminating
Looking at the code, it uses the same code for both SIGTERM and SIGINT. I suggest the message be reworded as
SIGTERM or SIGINT received, terminating
I've just committed this patch: --- orig/src/main.c +++ mod/src/main.c @@ -176,7 +176,7 @@ main_loop_run(GlobalConfig *cfg) } if (sig_term_received) { - msg_notice("SIGTERM received, terminating", NULL); + msg_notice("Termination requested via signal, terminating", NULL); sig_term_received = FALSE; break; } -- Bazsi