core: update warning message
"closing all" might suggest that _all_ fds received with the notification message will be closed. Reword the message to clarify that only the "unused" ones will be closed.
This commit is contained in:
parent
c4bee3c40e
commit
5fd2c135f1
|
@ -1787,7 +1787,7 @@ static int manager_dispatch_notify_fd(sd_event_source *source, int fd, uint32_t
|
||||||
log_warning("Cannot find unit for notify message of PID "PID_FMT".", ucred->pid);
|
log_warning("Cannot find unit for notify message of PID "PID_FMT".", ucred->pid);
|
||||||
|
|
||||||
if (fdset_size(fds) > 0)
|
if (fdset_size(fds) > 0)
|
||||||
log_warning("Got auxiliary fds with notification message, closing all.");
|
log_warning("Got extra auxiliary fds with notification message, closing them.");
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue