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:
Mark Johnston 2014-10-08 17:44:30 +00:00
parent 599df3ef01
commit 9f08174d47
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=272763

View File

@ -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,