From: Zbigniew Jędrzejewski-Szmek Date: Wed, 29 Nov 2023 13:01:13 +0000 (+0100) Subject: run: adjust indentation X-Git-Tag: v255~17^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cffa43255a4fdfa3611ded5e8b6f2305a17b3ba7;p=thirdparty%2Fsystemd.git run: adjust indentation --- diff --git a/src/run/run.c b/src/run/run.c index f97150eaab1..5c0f3ad2474 100644 --- a/src/run/run.c +++ b/src/run/run.c @@ -1376,7 +1376,10 @@ static int start_transient_service(sd_bus *bus) { if (r < 0) return bus_log_parse_error(r); - r = bus_wait_for_jobs_one(w, object, arg_quiet, arg_runtime_scope == RUNTIME_SCOPE_USER ? STRV_MAKE_CONST("--user") : NULL); + r = bus_wait_for_jobs_one(w, + object, + arg_quiet, + arg_runtime_scope == RUNTIME_SCOPE_USER ? STRV_MAKE_CONST("--user") : NULL); if (r < 0) return r; } @@ -1960,9 +1963,11 @@ static int run(int argc, char* argv[]) { " Use --expand-environment=yes/no to explicitly control it as needed."); } - /* If --wait is used connect via the bus, unconditionally, as ref/unref is not supported via the limited direct - * connection */ - if (arg_wait || arg_stdio != ARG_STDIO_NONE || (arg_runtime_scope == RUNTIME_SCOPE_USER && arg_transport != BUS_TRANSPORT_LOCAL)) + /* If --wait is used connect via the bus, unconditionally, as ref/unref is not supported via the + * limited direct connection */ + if (arg_wait || + arg_stdio != ARG_STDIO_NONE || + (arg_runtime_scope == RUNTIME_SCOPE_USER && arg_transport != BUS_TRANSPORT_LOCAL)) r = bus_connect_transport(arg_transport, arg_host, arg_runtime_scope, &bus); else r = bus_connect_transport_systemd(arg_transport, arg_host, arg_runtime_scope, &bus);