summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/bus-control.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-12-21 04:19:51 +0100
committerLennart Poettering <lennart@poettering.net>2013-12-21 05:15:09 +0100
commit0721804f03934c17509af4f485c3bcef9d86862c (patch)
tree9723c84e6aecebcc6a840e4d759b8071c23f7187 /src/libsystemd-bus/bus-control.c
parent373d32c9f4746d58cda8c62f4c70d2e0e7aae1af (diff)
bus: send status message from proxyd to systemd about client we are working for
Diffstat (limited to 'src/libsystemd-bus/bus-control.c')
-rw-r--r--src/libsystemd-bus/bus-control.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd-bus/bus-control.c b/src/libsystemd-bus/bus-control.c
index bbee1b5b13..c3186a08c2 100644
--- a/src/libsystemd-bus/bus-control.c
+++ b/src/libsystemd-bus/bus-control.c
@@ -702,6 +702,7 @@ _public_ int sd_bus_get_owner(
assert_return(BUS_IS_OPEN(bus->state), -ENOTCONN);
assert_return(!bus_pid_changed(bus), -ECHILD);
assert_return(service_name_is_valid(name), -EINVAL);
+ assert_return(bus->bus_client, -ENODATA);
if (bus->is_kernel)
return bus_get_owner_kdbus(bus, name, mask, creds);