[systemd-commits] src/libsystemd-bus
Lennart Poettering
lennart at kemper.freedesktop.org
Thu Apr 11 17:24:53 PDT 2013
src/libsystemd-bus/test-bus-kernel.c | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 4e3431bc39cbd45661f7887229afa50e5aec60dc
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Apr 12 02:24:28 2013 +0200
bus: be nice to people who don't have kdbus in their kernels
diff --git a/src/libsystemd-bus/test-bus-kernel.c b/src/libsystemd-bus/test-bus-kernel.c
index 9b2ee7d..d0f8f94 100644
--- a/src/libsystemd-bus/test-bus-kernel.c
+++ b/src/libsystemd-bus/test-bus-kernel.c
@@ -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)
+ return EXIT_TEST_SKIP;
+
assert_se(bus_ref >= 0);
address = strappend("kernel:path=", bus_name);
More information about the systemd-commits
mailing list