diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2019-04-20 22:27:33 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2019-04-20 22:33:36 -0700 |
commit | 5df0a442c2d33f80317d91ec3ce1933aa70acc52 (patch) | |
tree | b9b82f231932749e32ee3df2542c6fab3330a03b | |
parent | init.d/net.lo.in: shellcheck: _load_config (diff) | |
download | netifrc-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.in | 2 |
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}" |