From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D91F9138332 for ; Tue, 15 May 2018 00:11:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E3D01E09A5; Tue, 15 May 2018 00:11:52 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BC4F8E09A5 for ; Tue, 15 May 2018 00:11:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B9DED335C8B for ; Tue, 15 May 2018 00:11:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 95FC0296 for ; Tue, 15 May 2018 00:11:48 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1526342682.414a9aae6ce066d2a6ad42e7e24d1c12a7b46409.williamh@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: src/rc/ X-VCS-Repository: proj/openrc X-VCS-Files: src/rc/rc-misc.c X-VCS-Directories: src/rc/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 414a9aae6ce066d2a6ad42e7e24d1c12a7b46409 X-VCS-Branch: master Date: Tue, 15 May 2018 00:11:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 49317e5a-5bba-4ca9-89cd-ca3c5d7fa5a8 X-Archives-Hash: 00a37ccb20e1b1b184e9e4b5461f353a commit: 414a9aae6ce066d2a6ad42e7e24d1c12a7b46409 Author: William Hubbs gmail com> AuthorDate: Tue May 15 00:04:42 2018 +0000 Commit: William Hubbs gentoo 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