diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-11-28 20:43:25 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-11-28 20:44:26 +0100 |
commit | 7f4cec699581800449db2cefba3c5527bf918036 (patch) | |
tree | 5b1929538e1708ec0652cf06721db2ffd505571c /src/libsystemd-bus | |
parent | a4297f08ed774ed6d980b6cadaf844bfb2c7a403 (diff) |
busctl: drop bus driver name from list of services
Diffstat (limited to 'src/libsystemd-bus')
-rw-r--r-- | src/libsystemd-bus/busctl.c | 4 |
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); |