Ignore ENOENT from realpath(), origin probably moved
The svc_find_by_pidfile() function is called async from the pidfile
plugin, so by the time the queue is processed the origin may have
moved or been removed even.  Safe to ignore.
@@ -398,6 +398,7 @@ svc_t *svc_find_by_pidfile(char *fn)
pid_runpath(fn, adjpath, sizeof(adjpath));
if (!realpath(adjpath, fnpath)) {
+ if (errno != ENOENT)
_pe("adjpath: %s, errno %d", adjpath, errno);
return NULL;
}
