mirror of
https://github.com/systemd/systemd.git
synced 2025-02-28 05:57:33 +03:00
bus: set debug name of proxy bus connections
This commit is contained in:
parent
14008e4e9c
commit
44b0ed0586
@ -440,6 +440,12 @@ int main(int argc, char *argv[]) {
|
||||
goto finish;
|
||||
}
|
||||
|
||||
r = sd_bus_set_name(a, "sd-proxy");
|
||||
if (r < 0) {
|
||||
log_error("Failed to set bus name: %s", strerror(-r));
|
||||
goto finish;
|
||||
}
|
||||
|
||||
r = sd_bus_set_address(a, arg_address);
|
||||
if (r < 0) {
|
||||
log_error("Failed to set address to connect to: %s", strerror(-r));
|
||||
|
Loading…
x
Reference in New Issue
Block a user