Commit 4e3431bc authored by Lennart Poettering's avatar Lennart Poettering
Browse files

bus: be nice to people who don't have kdbus in their kernels

parent beca33ee
......@@ -35,6 +35,9 @@ int main(int argc, char *argv[]) {
int r;
bus_ref = bus_kernel_create("deine-mutter", &bus_name);
if (bus_ref == -ENOENT)
assert_se(bus_ref >= 0);
address = strappend("kernel:path=", bus_name);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment