summaryrefslogtreecommitdiff
path: root/src/network/networkd-manager-bus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/networkd-manager-bus.c')
-rw-r--r--src/network/networkd-manager-bus.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network/networkd-manager-bus.c b/src/network/networkd-manager-bus.c
index 7753c5dbc9..b281f4fdb6 100644
--- a/src/network/networkd-manager-bus.c
+++ b/src/network/networkd-manager-bus.c
@@ -38,6 +38,9 @@ int manager_send_changed(Manager *manager, const char *property, ...) {
assert(manager);
+ if (!manager->bus)
+ return 0; /* replace by assert when we have kdbus */
+
l = strv_from_stdarg_alloca(property);
return sd_bus_emit_properties_changed_strv(