If we fail to send a signal after rotation, print the pidfile from which
the corresponding PID was obtained. PR: 194143 Submitted by: Lyndon Nerenberg <lyndon@orthanc.ca> MFC after: 1 week
This commit is contained in:
parent
f9bb385dd3
commit
ae5107476a
@ -1968,8 +1968,8 @@ do_sigwork(struct sigwork_entry *swork)
|
||||
*/
|
||||
if (errno != ESRCH)
|
||||
swork->sw_pidok = 0;
|
||||
warn("can't notify %s, pid %d", swork->sw_pidtype,
|
||||
(int)swork->sw_pid);
|
||||
warn("can't notify %s, pid %d = %s", swork->sw_pidtype,
|
||||
(int)swork->sw_pid, swork->sw_fname);
|
||||
} else {
|
||||
if (verbose)
|
||||
printf("Notified %s pid %d = %s\n", swork->sw_pidtype,
|
||||
|
Loading…
x
Reference in New Issue
Block a user