commit: 5df0a442c2d33f80317d91ec3ce1933aa70acc52
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 21 05:27:33 2019 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> 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 <robbat2 <AT> 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}"