aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2018-05-15 16:18:19 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2018-05-15 16:18:19 -0500
commit04886efd85328988657c34440da9ba6aa2841cfd (patch)
treec943d8976daf72927a64442e590169ae86788927 /src
parentd980798d6444bbfc508796a233e962bf4dd61275 (diff)
Add RC_DEBUG and RC_NODEPS to environment whitelist
These are needed so rc-service can pass debug and nodeps options to openrc-run.
Diffstat (limited to 'src')
-rw-r--r--src/rc/rc-misc.c1
1 files changed, 1 insertions, 0 deletions
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