From 414a9aae6ce066d2a6ad42e7e24d1c12a7b46409 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Mon, 14 May 2018 19:04:42 -0500 Subject: 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. --- src/rc/rc-misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rc/rc-misc.c') 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 -- cgit v1.2.3