summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/udev/udevd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/udev/udevd.c b/src/udev/udevd.c
index 17b29818f2..b916b755dd 100644
--- a/src/udev/udevd.c
+++ b/src/udev/udevd.c
@@ -602,6 +602,7 @@ static void worker_returned(int fd_worker) {
ssize_t size;
struct ucred *ucred = NULL;
struct udev_list_node *loop;
+ bool found = false;
memzero(&iovec, sizeof(struct iovec));
iovec.iov_base = &msg;
@@ -643,6 +644,8 @@ static void worker_returned(int fd_worker) {
if (worker->pid != ucred->pid)
continue;
+ else
+ found = true;
/* worker returned */
if (worker->event) {
@@ -655,6 +658,9 @@ static void worker_returned(int fd_worker) {
worker_unref(worker);
break;
}
+
+ if (!found)
+ log_warning("unknown worker ["PID_FMT"] returned", ucred->pid);
}
}