mirror of
https://github.com/systemd/systemd.git
synced 2026-08-04 23:20:32 +00:00
network: check that bus is ready at one more place
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user