Skip to content

Commit

Permalink
drivers/main.c, clients/upsmon.c, server/upsd.c: clarify PID-file che…
Browse files Browse the repository at this point in the history
…cks wording: "is running *or not*"

Signed-off-by: Jim Klimov <[email protected]>
  • Loading branch information
jimklimov committed Jul 2, 2024
1 parent 0e2a8a4 commit 1f96990
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion clients/upsmon.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion drivers/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion server/upsd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1f96990

Please sign in to comment.