diff options
author | Alexander F Rødseth <alexander.rodseth@appeartv.com> | 2018-03-01 13:12:02 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-03-02 09:00:44 +0100 |
commit | 96164a3936af2dc2103d4d1ffa3b3b36b5017bff (patch) | |
tree | 65ee44e66b2c95ff053a015400e7b5eb9cd2d569 /src | |
parent | 6d1d8f66e03a141b985f456f33b36bf01cebb2d6 (diff) | |
download | systemd-96164a3936af2dc2103d4d1ffa3b3b36b5017bff.tar.gz systemd-96164a3936af2dc2103d4d1ffa3b3b36b5017bff.tar.bz2 systemd-96164a3936af2dc2103d4d1ffa3b3b36b5017bff.zip |
Add build-time option to change the color of the "OK" status text
Diffstat (limited to 'src')
-rw-r--r-- | src/core/job.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/job.c b/src/core/job.c index 249016f8b8..1b3534a7a6 100644 --- a/src/core/job.c +++ b/src/core/job.c @@ -696,7 +696,7 @@ _pure_ static const char *job_get_status_message_format(Unit *u, JobType t, JobR static const struct { const char *color, *word; } job_print_status_messages [_JOB_RESULT_MAX] = { - [JOB_DONE] = { ANSI_GREEN, " OK " }, + [JOB_DONE] = { ANSI_OK_COLOR, " OK " }, [JOB_TIMEOUT] = { ANSI_HIGHLIGHT_RED, " TIME " }, [JOB_FAILED] = { ANSI_HIGHLIGHT_RED, "FAILED" }, [JOB_DEPENDENCY] = { ANSI_HIGHLIGHT_YELLOW, "DEPEND" }, |