From 1f969909a9f45a255454a1c61318feab15b7f9ec Mon Sep 17 00:00:00 2001 From: Jim Klimov Date: Tue, 2 Jul 2024 22:40:19 +0200 Subject: [PATCH] drivers/main.c, clients/upsmon.c, server/upsd.c: clarify PID-file checks wording: "is running *or not*" Signed-off-by: Jim Klimov --- clients/upsmon.c | 2 +- drivers/main.c | 2 +- server/upsd.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/clients/upsmon.c b/clients/upsmon.c index 72314267dc..53be6395d1 100644 --- a/clients/upsmon.c +++ b/clients/upsmon.c @@ -3076,7 +3076,7 @@ int main(int argc, char *argv[]) */ upslogx(LOG_WARNING, "Could not %s PID file " "to see if previous upsmon instance is " - "already running!%s", + "already running or not!%s", (cmdret == -3 ? "find" : "parse"), (checking_flag ? " This is okay during OS shutdown, which is when checking POWERDOWNFLAG makes most sense." : "")); break; diff --git a/drivers/main.c b/drivers/main.c index 788a1aa163..80109bd723 100644 --- a/drivers/main.c +++ b/drivers/main.c @@ -2241,7 +2241,7 @@ int main(int argc, char **argv) */ upslogx(LOG_WARNING, "Could not %s PID file '%s' " "to see if previous driver instance is " - "already running!", + "already running or not!", (cmdret == -3 ? "find" : "parse"), pidfnbuf); break; diff --git a/server/upsd.c b/server/upsd.c index 833b269395..92b033d61d 100644 --- a/server/upsd.c +++ b/server/upsd.c @@ -2096,7 +2096,7 @@ int main(int argc, char **argv) */ upslogx(LOG_WARNING, "Could not %s PID file '%s' " "to see if previous upsd instance is " - "already running!", + "already running or not!", (cmdret == -3 ? "find" : "parse"), pidfn); break;