notify-recv: optionally return event source from notify_socket_prepare()

This commit is contained in:
Lennart Poettering
2025-05-13 14:42:33 +02:00
parent a16f650bd4
commit 0da0b3f81d
9 changed files with 27 additions and 14 deletions
+2 -1
View File
@@ -1740,7 +1740,8 @@ static int manager_new(Manager **ret) {
SD_EVENT_PRIORITY_NORMAL,
manager_on_notify,
m,
&m->notify_socket_path);
&m->notify_socket_path,
/* ret_event_source= */ NULL);
if (r < 0)
return r;