From: Lennart Poettering Date: Fri, 19 Sep 2025 08:12:13 +0000 (+0200) Subject: job: shorten code X-Git-Tag: v258.1~13 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e9ca92bd744361b2dd31dc6c0519d426d2624e97;p=thirdparty%2Fsystemd.git job: shorten code (cherry picked from commit 84ba8721de9d70340747758f9d028a3f9c4e302e) --- diff --git a/src/core/job.c b/src/core/job.c index 4291d366485..42bca3a253d 100644 --- a/src/core/job.c +++ b/src/core/job.c @@ -772,8 +772,8 @@ static void job_emit_done_message(Unit *u, uint32_t job_id, JobType t, JobResult /* No message on the console if the job did not actually do anything due to unmet condition. */ if (console_only) return; - else - do_console = false; + + do_console = false; } if (!console_only) { /* Skip printing if output goes to the console, and job_print_status_message()