From d8a77d55e6ad7f251ae0eb6758af6bba111095df Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Tue, 8 Oct 2024 16:22:58 +0200 Subject: 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. --- src/busctl/busctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/busctl') diff --git a/src/busctl/busctl.c b/src/busctl/busctl.c index 1b0b72085e..52649511f5 100644 --- a/src/busctl/busctl.c +++ b/src/busctl/busctl.c @@ -153,7 +153,7 @@ static int acquire_bus(bool set_monitor, sd_bus **ret) { r = sd_bus_start(bus); if (r < 0) - return bus_log_connect_error(r, arg_transport); + return bus_log_connect_error(r, arg_transport, arg_runtime_scope); *ret = TAKE_PTR(bus); -- cgit v1.2.3