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:
parent
a7f475ca04
commit
414a9aae6c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user