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.
This commit is contained in:
+2
-2
@@ -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 ? "!" : "",
|
||||
|
||||
Reference in New Issue
Block a user