chiark / gitweb /
bus: removed unused variable in driverd
[elogind.git] / src / libsystemd-bus / busctl.c
index c855f936d6fe0b82cf3e9feb5772492e7e2ba598..4e2e6aff2606e30265f6b24fc7d341bf23f78834 100644 (file)
@@ -108,10 +108,6 @@ 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|SD_BUS_CREDS_UNIQUE_NAME, &creds);
@@ -282,8 +278,8 @@ static int help(void) {
                "     --match=MATCH        Only show matching messages\n\n"
                "Commands:\n"
                "  list                    List bus names\n"
-               "  monitor [SERVICE...]    Show bus traffic\n",
-               "  status ENDPOINT         Show endpoint status\n",
+               "  monitor [SERVICE...]    Show bus traffic\n"
+               "  status ENDPOINT         Show endpoint status\n"
                "  help                    Show this help\n",
                program_invocation_short_name);