From: Zbigniew Jędrzejewski-Szmek Date: Wed, 4 Feb 2026 09:21:43 +0000 (+0100) Subject: pid1: shorten message about jobs skipped after failed condition checks X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a1e761070e5b223191b1cb7526730adf1a76681;p=thirdparty%2Fsystemd.git pid1: shorten message about jobs skipped after failed condition checks I was looking at some logs on a console, and because of the lengthy message, the actually interesting part, i.e. what condition failed, didn't even fit on the screen. Let's make the sentence legible but brief. --- diff --git a/src/core/job.c b/src/core/job.c index 449afc12512..1cac09bd066 100644 --- a/src/core/job.c +++ b/src/core/job.c @@ -787,7 +787,7 @@ static void job_emit_done_message(Unit *u, uint32_t job_id, JobType t, JobResult log_unit_struct( u, job_done_messages[result].log_level, - LOG_MESSAGE("%s was skipped because no trigger condition checks were met.", + LOG_MESSAGE("%s skipped, no trigger condition checks were met.", ident), LOG_ITEM("JOB_ID=%" PRIu32, job_id), LOG_ITEM("JOB_TYPE=%s", job_type_to_string(t)), @@ -798,7 +798,7 @@ static void job_emit_done_message(Unit *u, uint32_t job_id, JobType t, JobResult log_unit_struct( u, job_done_messages[result].log_level, - LOG_MESSAGE("%s was skipped because of an unmet condition check (%s=%s%s).", + LOG_MESSAGE("%s skipped, unmet condition check %s=%s%s", ident, condition_type_to_string(c->type), c->negate ? "!" : "",