summaryrefslogtreecommitdiffstats
path: root/src/run
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-10-08 16:22:58 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2024-10-09 10:27:53 +0200
commitd8a77d55e6ad7f251ae0eb6758af6bba111095df (patch)
treecf29ac5b033275192d37610e540ee7da104638d6 /src/run
parentMerge pull request #34639 from DaanDeMeyer/repart-fix (diff)
downloadsystemd-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/run')
-rw-r--r--src/run/run.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/run/run.c b/src/run/run.c
index 4370f897ec..1f2938f9ea 100644
--- a/src/run/run.c
+++ b/src/run/run.c
@@ -2439,7 +2439,7 @@ static int run(int argc, char* argv[]) {
else
r = bus_connect_transport_systemd(arg_transport, arg_host, arg_runtime_scope, &bus);
if (r < 0)
- return bus_log_connect_error(r, arg_transport);
+ return bus_log_connect_error(r, arg_transport, arg_runtime_scope);
(void) sd_bus_set_allow_interactive_authorization(bus, arg_ask_password);