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.
This commit is contained in:
William Hubbs 2018-05-14 19:04:42 -05:00
parent a7f475ca04
commit 414a9aae6c

View File

@ -51,7 +51,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_HOTPLUG", "IN_BACKGROUND", "IN_DRYRUN", "IN_HOTPLUG",
"LANG", "LC_MESSAGES", "TERM", "LANG", "LC_MESSAGES", "TERM",
"EINFO_COLOR", "EINFO_VERBOSE", "EINFO_COLOR", "EINFO_VERBOSE",
NULL NULL