mirror of
https://github.com/systemd/systemd.git
synced 2026-08-04 15:10:33 +00:00
busctl: drop bus driver name from list of services
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user