summaryrefslogtreecommitdiffstats
path: root/src/systemctl/systemctl-show.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2023-04-10 22:22:25 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-04-11 05:36:53 +0200
commit4e1ac54e1c38682d5435a0cf1a9a1bfdcaa8e3f2 (patch)
tree6940d89fa9b29aa8778ba1c44267a5ae5639681c /src/systemctl/systemctl-show.c
parentMerge pull request #27199 from yuwata/find-esp (diff)
downloadsystemd-4e1ac54e1c38682d5435a0cf1a9a1bfdcaa8e3f2.tar.xz
systemd-4e1ac54e1c38682d5435a0cf1a9a1bfdcaa8e3f2.zip
tree-wide: A few more uses of "unmet" for conditions
This is a followup to 413e8650b71d4404a7453403797f93d73d88c466 > 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.
Diffstat (limited to '')
-rw-r--r--src/systemctl/systemctl-show.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl-show.c b/src/systemctl/systemctl-show.c
index 4a14c105dd..6422550af4 100644
--- a/src/systemctl/systemctl-show.c
+++ b/src/systemctl/systemctl-show.c
@@ -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));