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;
}
" 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);