aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2019-04-20 22:27:33 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2019-04-20 22:33:36 -0700
commit5df0a442c2d33f80317d91ec3ce1933aa70acc52 (patch)
treeb9b82f231932749e32ee3df2542c6fab3330a03b
parentinit.d/net.lo.in: shellcheck: _load_config (diff)
downloadnetifrc-5df0a442c2d33f80317d91ec3ce1933aa70acc52.tar.gz
netifrc-5df0a442c2d33f80317d91ec3ce1933aa70acc52.tar.bz2
netifrc-5df0a442c2d33f80317d91ec3ce1933aa70acc52.zip
init.d/net.lo.in: shellcheck: _run_if()
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r--init.d/net.lo.in2
1 files changed, 1 insertions, 1 deletions
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}"