summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-28 20:43:25 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-28 20:44:26 +0100
commit7f4cec699581800449db2cefba3c5527bf918036 (patch)
tree5b1929538e1708ec0652cf06721db2ffd505571c /src
parenta4297f08ed774ed6d980b6cadaf844bfb2c7a403 (diff)
busctl: drop bus driver name from list of services
Diffstat (limited to 'src')
-rw-r--r--src/libsystemd-bus/busctl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libsystemd-bus/busctl.c b/src/libsystemd-bus/busctl.c
index 4d4f38e0a8..871dd1a41e 100644
--- a/src/libsystemd-bus/busctl.c
+++ b/src/libsystemd-bus/busctl.c
@@ -88,6 +88,10 @@ static int list_bus_names(sd_bus *bus, char **argv) {
if (arg_no_unique && (*i)[0] == ':')
continue;
+ /* Skip the bus driver */
+ if (streq(*i, "org.freedesktop.DBus"))
+ continue;
+
printf("%-*s", (int) max_i, *i);
r = sd_bus_get_owner(bus, *i, SD_BUS_CREDS_UID|SD_BUS_CREDS_PID|SD_BUS_CREDS_COMM, &owner, &creds);