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
@@ -1062,7 +1062,8 @@ static int run_callout(
SD_EVENT_PRIORITY_NORMAL - 5,
helper_on_notify,
ctx,
&bind_name);
&bind_name,
/* ret_event_source= */ NULL);
if (r < 0)
return log_error_errno(r, "Failed to prepare notify socket: %m");