Add RC_DEBUG and RC_NODEPS to environment whitelist

These are needed so rc-service can pass debug and nodeps options to
openrc-run.
This commit is contained in:
William Hubbs 2018-05-15 16:18:19 -05:00
parent d980798d64
commit 04886efd85

View File

@ -52,6 +52,7 @@ rc_conf_yesno(const char *setting)
static const char *const env_whitelist[] = { static const char *const env_whitelist[] = {
"EERROR_QUIET", "EINFO_QUIET", "EERROR_QUIET", "EINFO_QUIET",
"IN_BACKGROUND", "IN_DRYRUN", "IN_HOTPLUG", "IN_BACKGROUND", "IN_DRYRUN", "IN_HOTPLUG",
"RC_DEBUG", "RC_NODEPS",
"LANG", "LC_MESSAGES", "TERM", "LANG", "LC_MESSAGES", "TERM",
"EINFO_COLOR", "EINFO_VERBOSE", "EINFO_COLOR", "EINFO_VERBOSE",
NULL NULL