From: Roy Marples Date: Wed, 31 Aug 2022 19:04:11 +0000 (+0100) Subject: Normalise `dhcpcd is not running` message X-Git-Tag: v9.5.0~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4165d762c013e3172c6296521d737047d4d53d3a;p=thirdparty%2Fdhcpcd.git Normalise `dhcpcd is not running` message --- diff --git a/src/dhcpcd.c b/src/dhcpcd.c index 6a4c9723..98ce34a4 100644 --- a/src/dhcpcd.c +++ b/src/dhcpcd.c @@ -2131,7 +2131,7 @@ printpidfile: loginfox("sending signal %s to pid %d", siga, pid); if (pid == 0 || pid == -1 || kill(pid, sig) != 0) { if (sig != SIGHUP && sig != SIGUSR1 && errno != EPERM) - logerrx(PACKAGE" not running"); + logerrx(PACKAGE" is not running"); if (pid != 0 && pid != -1 && errno != ESRCH) { logerr("kill"); goto exit_failure; @@ -2251,7 +2251,7 @@ printpidfile: logerr("%s: control_open", __func__); if (ctx.options & DHCPCD_DUMPLEASE) { if (errno == ENOENT) - logerrx("dhcpcd is not running"); + logerrx(PACKAGE" is not running"); goto exit_failure; } if (errno == EPERM || errno == EACCES)