From: Yu Watanabe Date: Tue, 9 Dec 2025 18:26:40 +0000 (+0900) Subject: bus-wait-for-jobs: fix quiet argument for log_job_error_with_service_result() X-Git-Tag: v259-rc3~5^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fe1de08128b29a9ae8c279cc7d05a9689007424;p=thirdparty%2Fsystemd.git bus-wait-for-jobs: fix quiet argument for log_job_error_with_service_result() The argument 'quiet' is a boolean, not a integrer and not a log level. Follow-up for 0d91a204cb78d692f23e80d3a08f9b81ecad753a. Fixes #40030. --- diff --git a/src/shared/bus-wait-for-jobs.c b/src/shared/bus-wait-for-jobs.c index fac7fe112e8..fda64526a5d 100644 --- a/src/shared/bus-wait-for-jobs.c +++ b/src/shared/bus-wait-for-jobs.c @@ -275,7 +275,10 @@ static int check_wait_response(BusWaitForJobs *d, WaitJobsFlags flags, const cha log_debug_errno(r, "Failed to get Result property of unit %s, ignoring: %m", d->name); - log_job_error_with_service_result(d->name, result, priority, extra_args); + log_job_error_with_service_result( + d->name, result, + /* quiet= */ !FLAGS_SET(flags, BUS_WAIT_JOBS_LOG_ERROR), + extra_args); } else /* Otherwise we just show a generic message. */ log_full(priority, "Job failed. See \"journalctl -xe\" for details.");