diff options
Diffstat (limited to 'src/network/networkd-link-bus.c')
-rw-r--r-- | src/network/networkd-link-bus.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network/networkd-link-bus.c b/src/network/networkd-link-bus.c index 645c47ae8c..f7eae87edd 100644 --- a/src/network/networkd-link-bus.c +++ b/src/network/networkd-link-bus.c @@ -108,6 +108,9 @@ int link_send_changed(Link *link, const char *property, ...) { assert(link); assert(link->manager); + if (!link->manager->bus) + return 0; /* replace with assert when we have kdbus */ + l = strv_from_stdarg_alloca(property); p = link_bus_path(link); |