diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-10-10 15:54:37 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-10-11 11:35:02 +0200 |
commit | b066b683539675bc51a71259f1e0f42cef5379ad (patch) | |
tree | 9ed1e036987085da40251575583bcda67d4ac18a /src/stdio-bridge | |
parent | bus-util: Move geteuid() check out of bus_connect_system_systemd() (diff) | |
download | systemd-b066b683539675bc51a71259f1e0f42cef5379ad.tar.xz systemd-b066b683539675bc51a71259f1e0f42cef5379ad.zip |
stdio-bridge: Use bus_log_connect_error()
Diffstat (limited to 'src/stdio-bridge')
-rw-r--r-- | src/stdio-bridge/stdio-bridge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdio-bridge/stdio-bridge.c b/src/stdio-bridge/stdio-bridge.c index d3629f5fb0..7b774860c8 100644 --- a/src/stdio-bridge/stdio-bridge.c +++ b/src/stdio-bridge/stdio-bridge.c @@ -142,7 +142,7 @@ static int run(int argc, char *argv[]) { r = sd_bus_start(a); if (r < 0) - return log_error_errno(r, "Failed to start bus client: %m"); + return bus_log_connect_error(r, arg_transport, arg_runtime_scope); r = sd_bus_get_bus_id(a, &server_id); if (r < 0) |