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/machine | |
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/machine')
-rw-r--r-- | src/machine/machinectl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c index e6d773b7a0..7843b9aa63 100644 --- a/src/machine/machinectl.c +++ b/src/machine/machinectl.c @@ -2445,7 +2445,7 @@ static int run(int argc, char *argv[]) { 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); |