commit: 414a9aae6ce066d2a6ad42e7e24d1c12a7b46409 Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com> AuthorDate: Tue May 15 00:04:42 2018 +0000 Commit: William Hubbs <williamh <AT> gentoo <DOT> org> CommitDate: Tue May 15 00:04:42 2018 +0000 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=414a9aae
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(-) 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