Skip to content

Commit fd80697

Browse files
committed
drivers/upsdrvctl.c: update comments and loop messages
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
1 parent 1b9d2ed commit fd80697

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

drivers/upsdrvctl.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2050,7 +2050,7 @@ int main(int argc, char **argv)
20502050
if (waitret == tmp->pid) {
20512051
upsdebugx(1,
20522052
"Driver [%s] PID %" PRIdMAX " initially exceeded "
2053-
"maxstartdelay %d sec but has finished by now",
2053+
"maxstartdelay %d sec but has finished starting by now",
20542054
tmp->upsname, (intmax_t)tmp->pid,
20552055
(tmp->maxstartdelay!=-1?tmp->maxstartdelay:maxstartdelay));
20562056
tmp->exceeded_timeout = 0;
@@ -2212,6 +2212,8 @@ int main(int argc, char **argv)
22122212
reset_signal_flag();
22132213
upsdebugx(1, "upsdrvctl: handling signal: finished");
22142214
}
2215+
#else /* WIN32 */
2216+
/* TOTHINK: Is there something we can do on the platform? */
22152217
#endif /* !WIN32 */
22162218

22172219
sleep(1);

0 commit comments

Comments
 (0)