From: Roy Marples Date: Wed, 31 Aug 2022 19:04:11 +0000 (+0100) Subject: Normalise `dhcpcd is not running` message X-Git-Tag: v10.0.0~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd0593a1fe3c7b04a93a8574189415fef55b167b;p=thirdparty%2Fdhcpcd.git Normalise `dhcpcd is not running` message --- diff --git a/src/dhcpcd.c b/src/dhcpcd.c index 149a55c8..7a59d758 100644 --- a/src/dhcpcd.c +++ b/src/dhcpcd.c @@ -2155,7 +2155,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; @@ -2275,7 +2275,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)