1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-30 14:55:37 +03:00

network: check that bus is ready at one more place

This commit is contained in:
Yu Watanabe 2021-05-08 01:54:07 +09:00
parent 098d42b67e
commit 706875f165

View File

@ -81,6 +81,9 @@ static int dhcp_server_emit_changed(Link *link, const char *property, ...) {
assert(link);
if (sd_bus_is_ready(link->manager->bus) <= 0)
return 0;
path = link_bus_path(link);
if (!path)
return log_oom();