diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-10-08 16:22:58 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-10-09 10:27:53 +0200 |
commit | d8a77d55e6ad7f251ae0eb6758af6bba111095df (patch) | |
tree | cf29ac5b033275192d37610e540ee7da104638d6 /src/home/homectl.c | |
parent | Merge pull request #34639 from DaanDeMeyer/repart-fix (diff) | |
download | systemd-d8a77d55e6ad7f251ae0eb6758af6bba111095df.tar.xz systemd-d8a77d55e6ad7f251ae0eb6758af6bba111095df.zip |
bus-util: Log more information when connecting to a bus socket fails
Let's log about which bus we're trying to connect to and what transport
we're using to do it.
Diffstat (limited to 'src/home/homectl.c')
-rw-r--r-- | src/home/homectl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/home/homectl.c b/src/home/homectl.c index 741e5d72b7..37bebe92b0 100644 --- a/src/home/homectl.c +++ b/src/home/homectl.c @@ -135,7 +135,7 @@ static int acquire_bus(sd_bus **bus) { r = bus_connect_transport(arg_transport, arg_host, RUNTIME_SCOPE_SYSTEM, bus); if (r < 0) - return bus_log_connect_error(r, arg_transport); + return bus_log_connect_error(r, arg_transport, RUNTIME_SCOPE_SYSTEM); (void) sd_bus_set_allow_interactive_authorization(*bus, arg_ask_password); |