busctl: do not print hint about -M if -M is already used

(Or when -H is used, since -H and -M are incompatible.)
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2021-11-04 11:00:15 +01:00
parent 237fbb6719
commit fb293b3c0f
3 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ static int acquire_bus(bool set_monitor, sd_bus **ret) {
}
}
if (r < 0)
return bus_log_address_error(r);
return bus_log_address_error(r, arg_transport);
r = sd_bus_start(bus);
if (r < 0)