From 571c45f3e61148ec1cc176db483b32e6ccff0e8e Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Sat, 25 Jan 2014 21:20:22 +0000 Subject: [PATCH] Improve message printed when signaling processes to stop. Patch from Matias A. Fonzo at the dragora project. --- doc/Changelog | 2 ++ src/init.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/Changelog b/doc/Changelog index 09ea0e3..f926f19 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -51,6 +51,8 @@ sysvinit (2.89dsf) UNRELEASED; urgency=low to get the source building on FreeBSD. * Add some code to be able to detect programs even as user with kernel 3.0 and above + * Improve message printed when signaling processes to stop. + Patch from Matias A. Fonzo at the dragora project. -- Petter Reinholdtsen Sun Apr 11 11:28:55 CEST 2010 diff --git a/src/init.c b/src/init.c index 51f5a55..2bd79bd 100644 --- a/src/init.c +++ b/src/init.c @@ -1542,14 +1542,14 @@ void read_inittab(void) case 0: /* Send TERM signal */ if (talk) initlog(L_CO, - "Sending processes the TERM signal"); + "Sending processes configured via /etc/inittab the TERM signal"); kill(-(ch->pid), SIGTERM); foundOne = 1; break; case 1: /* Send KILL signal and collect status */ if (talk) initlog(L_CO, - "Sending processes the KILL signal"); + "Sending processes configured via /etc/inittab the KILL signal"); kill(-(ch->pid), SIGKILL); break; }