aboutsummaryrefslogtreecommitdiff
path: root/src/rc
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2018-05-14 19:04:42 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2018-05-14 19:04:42 -0500
commit414a9aae6ce066d2a6ad42e7e24d1c12a7b46409 (patch)
treeb627ad810b5f61e920306d749cb46f5988548672 /src/rc
parenta7f475ca04856ef8232364c5b0c3191566b0696c (diff)
rc-misc.c: Add IN_DRYRUN to environment whitelist
This allows rc-service to pass the dryrun option to openrc-run. This is for #225.
Diffstat (limited to 'src/rc')
-rw-r--r--src/rc/rc-misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/rc-misc.c b/src/rc/rc-misc.c
index 2c9903c3..e676ad9e 100644
--- a/src/rc/rc-misc.c
+++ b/src/rc/rc-misc.c
@@ -51,7 +51,7 @@ rc_conf_yesno(const char *setting)
static const char *const env_whitelist[] = {
"EERROR_QUIET", "EINFO_QUIET",
- "IN_BACKGROUND", "IN_HOTPLUG",
+ "IN_BACKGROUND", "IN_DRYRUN", "IN_HOTPLUG",
"LANG", "LC_MESSAGES", "TERM",
"EINFO_COLOR", "EINFO_VERBOSE",
NULL