chiark / gitweb /
busctl: drop bus driver name from list of services
[elogind.git] / src / libsystemd-bus / busctl.c
index 4d4f38e0a80aefe06aafff60ccdef7059514a1d4..871dd1a41e43240e7ebe67bf2cc08081f70697cc 100644 (file)
@@ -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);