aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2012-12-27 14:10:01 +0000
committerSteven Barth <cyrus@openwrt.org>2012-12-27 14:10:01 +0000
commitf657787b52bbee6d435e9e87428cf69f22fe852f (patch)
tree6abe4319d33e611d0a48ec1b457dd47b56b094a9 /package/base-files/files/lib
parent386c37b4c2b6b9bd7252ad21440bf85c4b67d377 (diff)
downloadupstream-f657787b52bbee6d435e9e87428cf69f22fe852f.tar.gz
upstream-f657787b52bbee6d435e9e87428cf69f22fe852f.tar.bz2
upstream-f657787b52bbee6d435e9e87428cf69f22fe852f.zip
base-files: Fix a typo in config_list_foreach
SVN-Revision: 34893
Diffstat (limited to 'package/base-files/files/lib')
-rwxr-xr-xpackage/base-files/files/lib/functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/lib/functions.sh b/package/base-files/files/lib/functions.sh
index 54e69b8332..ae0257a5c5 100755
--- a/package/base-files/files/lib/functions.sh
+++ b/package/base-files/files/lib/functions.sh
@@ -197,7 +197,7 @@ config_list_foreach() {
[ -z "$len" ] && return 0
while [ $c -le "$len" ]; do
config_get val "${section}" "${option}_ITEM$c"
- eval "$function \"\$val\" \"$@\""
+ eval "$function \"\$val\" \"\$@\""
c="$(($c + 1))"
done
}