summaryrefslogtreecommitdiffstats
path: root/src/mount
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/mount
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/mount')
-rw-r--r--src/mount/mount-tool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mount/mount-tool.c b/src/mount/mount-tool.c
index 278890dd69..5f9cf44b5d 100644
--- a/src/mount/mount-tool.c
+++ b/src/mount/mount-tool.c
@@ -1513,7 +1513,7 @@ static int run(int argc, char* argv[]) {
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);