tree-wide: A few more uses of "unmet" for conditions
This is a followup to
413e8650b7
> tree-wide: Use "unmet" for condition checks, not "failed"
Since I noticed when running `systemctl status` on a recent
systemd still seeing
`Condition: start condition failed`
To recap the original rationale here for "unmet" is that it's
normal for some units to be conditional, so the term "failure"
here is too strong.
This commit is contained in:
committed by
Yu Watanabe
parent
2653ded4d1
commit
4e1ac54e1c
@@ -516,7 +516,7 @@ static void print_status_info(
|
||||
if (!i->condition_result && i->condition_timestamp > 0) {
|
||||
int n = 0;
|
||||
|
||||
printf(" Condition: start %scondition failed%s at %s; %s\n",
|
||||
printf(" Condition: start %scondition unmet%s at %s; %s\n",
|
||||
ansi_highlight_yellow(), ansi_normal(),
|
||||
FORMAT_TIMESTAMP_STYLE(i->condition_timestamp, arg_timestamp_style),
|
||||
FORMAT_TIMESTAMP_RELATIVE(i->condition_timestamp));
|
||||
|
||||
Reference in New Issue
Block a user