commit:     1edb5f6fd9c4827e5d4ed5c854bc322ba8a7df73
Author:     Doug Freed <dwfreed <AT> mtu <DOT> edu>
AuthorDate: Thu Sep 15 02:48:56 2016 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Sep 15 02:48:56 2016 +0000
URL:        https://gitweb.gentoo.org/proj/openrc.git/commit/?id=1edb5f6f

rc-misc: Allow EINFO_COLOR through env_filter()

This allows rc-service -C <service> <action> to properly not print color
messages.

Fixes #93

 src/rc/rc-misc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/rc/rc-misc.c b/src/rc/rc-misc.c
index 85a0db7..508e116 100644
--- a/src/rc/rc-misc.c
+++ b/src/rc/rc-misc.c
@@ -53,6 +53,7 @@ static const char *const env_whitelist[] = {
        "EERROR_QUIET", "EINFO_QUIET",
        "IN_BACKGROUND", "IN_HOTPLUG",
        "LANG", "LC_MESSAGES", "TERM",
+       "EINFO_COLOR",
        NULL
 };
 

Reply via email to