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:
parent
098d42b67e
commit
706875f165
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user