summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/sd-bus.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-04-12 03:08:14 +0200
committerLennart Poettering <lennart@poettering.net>2013-04-12 03:08:50 +0200
commitf08838da225678269945868a71bbdc79de967e1d (patch)
treeb9a94e4a59c8a2c9556d784f73c9ba030d3bf24c /src/libsystemd-bus/sd-bus.c
parent8c11aac1d739f5e60822f65f5179d8c4cc212732 (diff)
bus: implement basic name registration with kdbus
Diffstat (limited to 'src/libsystemd-bus/sd-bus.c')
-rw-r--r--src/libsystemd-bus/sd-bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-bus/sd-bus.c b/src/libsystemd-bus/sd-bus.c
index 2424ee1446..f40958a26e 100644
--- a/src/libsystemd-bus/sd-bus.c
+++ b/src/libsystemd-bus/sd-bus.c
@@ -280,7 +280,7 @@ static int bus_send_hello(sd_bus *bus) {
int bus_start_running(sd_bus *bus) {
assert(bus);
- if (bus->bus_client) {
+ if (bus->bus_client && !bus->is_kernel) {
bus->state = BUS_HELLO;
return 1;
}