1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

base-files: Fix a typo in config_list_foreach

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34893 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
cyrus
2012-12-27 14:10:01 +00:00
parent 7d9a07b855
commit 593cc2f133
2 changed files with 2 additions and 2 deletions

View File

@@ -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
}