From 40c9fe4c0862114dab390c8ed16f78cf056b9140 Mon Sep 17 00:00:00 2001 From: Jan Synacek Date: Tue, 19 Jan 2016 10:17:19 +0100 Subject: basic/terminal-util: introduce SYSTEMD_COLORS environment variable ... to determine if color output should be enabled. If the variable is not set, fall back to using on_tty(). Also, rewrite existing code to use colors_enabled() where appropriate. --- man/systemd.xml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'man/systemd.xml') diff --git a/man/systemd.xml b/man/systemd.xml index b5570a4347..b8d91b8943 100644 --- a/man/systemd.xml +++ b/man/systemd.xml @@ -834,6 +834,13 @@ script runlevel link farms. + + $SYSTEMD_COLORS + + Controls whether colorized output should be generated. + + + $LISTEN_PID $LISTEN_FDS -- cgit v1.2.3-54-g00ecf