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 E8BAD138334 for ; Sun, 21 Apr 2019 05:34:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E0759E0ADF; Sun, 21 Apr 2019 05:34:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 A9A71E0AE0 for ; Sun, 21 Apr 2019 05:34:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 A41B7341BC0 for ; Sun, 21 Apr 2019 05:34:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BB75E5CC for ; Sun, 21 Apr 2019 05:34:03 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1555824816.5df0a442c2d33f80317d91ec3ce1933aa70acc52.robbat2@OpenRC> Subject: [gentoo-commits] proj/netifrc:master commit in: init.d/ X-VCS-Repository: proj/netifrc X-VCS-Files: init.d/net.lo.in X-VCS-Directories: init.d/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: 5df0a442c2d33f80317d91ec3ce1933aa70acc52 X-VCS-Branch: master Date: Sun, 21 Apr 2019 05:34:03 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 03074d0a-687d-48ca-a8d4-089e19e57241 X-Archives-Hash: d40c6f813df36e86e47e833dee2de4c5 commit: 5df0a442c2d33f80317d91ec3ce1933aa70acc52 Author: Robin H. Johnson gentoo org> AuthorDate: Sun Apr 21 05:27:33 2019 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Sun Apr 21 05:33:36 2019 +0000 URL: https://gitweb.gentoo.org/proj/netifrc.git/commit/?id=5df0a442 init.d/net.lo.in: shellcheck: _run_if() Signed-off-by: Robin H. Johnson gentoo.org> init.d/net.lo.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.d/net.lo.in b/init.d/net.lo.in index 30ab7fd..e1a0cab 100644 --- a/init.d/net.lo.in +++ b/init.d/net.lo.in @@ -594,7 +594,7 @@ _run_if() { local cmd=$1 iface=$2 ifr=${IFACE} ifv=${IFVAR} # Ensure that we don't stamp on real values - local IFACE= IFVAR= + local IFACE='' IFVAR='' shift if [ -n "${iface}" ]; then IFACE="${iface}"