aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2011-10-02 12:21:17 -0500
committerWilliam Hubbs <williamh@gentoo.org>2011-10-02 12:21:17 -0500
commit917553475227bdeab70f19edb7a4ea549a1abe8f (patch)
tree4b73fa029d04d6849c17630e64acf26de595c621
parentc5fb64d61f1462d0f8790838424722e161ba4024 (diff)
Small style change
-rw-r--r--init.d/net.lo.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/init.d/net.lo.in b/init.d/net.lo.in
index 9b6bf645..66e19456 100644
--- a/init.d/net.lo.in
+++ b/init.d/net.lo.in
@@ -41,7 +41,9 @@ depend()
done
}
-_array_helper() {
+# Support bash arrays - sigh
+_array_helper()
+{
local _a=
eval _a=\$$1
@@ -50,7 +52,6 @@ _array_helper() {
[ -n "${_a}" ] && printf "%s\n" "${_a}"
}
-# Support bash arrays - sigh
_get_array()
{
local _a=