rc-misc: Allow EINFO_COLOR through env_filter()

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

Fixes #93
This commit is contained in:
Doug Freed 2016-09-14 22:48:56 -04:00
parent c4d7e02abd
commit 1edb5f6fd9

View File

@ -53,6 +53,7 @@ static const char *const env_whitelist[] = {
"EERROR_QUIET", "EINFO_QUIET", "EERROR_QUIET", "EINFO_QUIET",
"IN_BACKGROUND", "IN_HOTPLUG", "IN_BACKGROUND", "IN_HOTPLUG",
"LANG", "LC_MESSAGES", "TERM", "LANG", "LC_MESSAGES", "TERM",
"EINFO_COLOR",
NULL NULL
}; };