commit: 04886efd85328988657c34440da9ba6aa2841cfd Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com> AuthorDate: Tue May 15 21:18:19 2018 +0000 Commit: William Hubbs <williamh <AT> gentoo <DOT> org> CommitDate: Tue May 15 21:18:19 2018 +0000 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=04886efd
Add RC_DEBUG and RC_NODEPS to environment whitelist These are needed so rc-service can pass debug and nodeps options to openrc-run. 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 e676ad9e..50c09747 100644 --- a/src/rc/rc-misc.c +++ b/src/rc/rc-misc.c @@ -52,6 +52,7 @@ rc_conf_yesno(const char *setting) static const char *const env_whitelist[] = { "EERROR_QUIET", "EINFO_QUIET", "IN_BACKGROUND", "IN_DRYRUN", "IN_HOTPLUG", + "RC_DEBUG", "RC_NODEPS", "LANG", "LC_MESSAGES", "TERM", "EINFO_COLOR", "EINFO_VERBOSE", NULL