notify-recv: optionally return event source from notify_socket_prepare()
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user