From 04886efd85328988657c34440da9ba6aa2841cfd Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Tue, 15 May 2018 16:18:19 -0500 Subject: 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 -- cgit v1.2.3