From 84ba8721de9d70340747758f9d028a3f9c4e302e Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 19 Sep 2025 10:12:13 +0200 Subject: [PATCH] job: shorten code --- src/core/job.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() -- 2.47.3