aboutsummaryrefslogtreecommitdiffstats
path: root/package/system
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2013-11-28 11:26:34 +0000
committerJo-Philipp Wich <jow@openwrt.org>2013-11-28 11:26:34 +0000
commit8ad86b6a1eaab925d1a075316610e97586865939 (patch)
tree630260c0a3e5a69a502857c2ab9609b86cb07848 /package/system
parent77d3c7322f4cfdfef40e5679cccc8de5f7217dcc (diff)
downloadupstream-8ad86b6a1eaab925d1a075316610e97586865939.tar.gz
upstream-8ad86b6a1eaab925d1a075316610e97586865939.tar.bz2
upstream-8ad86b6a1eaab925d1a075316610e97586865939.zip
procd: fix processing of datatype specification with spaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38935 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/system')
-rw-r--r--package/system/procd/files/procd.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/system/procd/files/procd.sh b/package/system/procd/files/procd.sh
index ddb6d95e68..2f97a5d7d2 100644
--- a/package/system/procd/files/procd.sh
+++ b/package/system/procd/files/procd.sh
@@ -222,10 +222,10 @@ uci_validate_section()
local name="$3"
local error
shift; shift; shift
- local result=`/sbin/validate_data "$package" "$type" "$name" $@ 2> /dev/null`
+ local result=`/sbin/validate_data "$package" "$type" "$name" "$@" 2> /dev/null`
error=$?
eval "$result"
- [ "$error" = "0" ] || `/sbin/validate_data "$package" "$type" "$name" $@ 1> /dev/null`
+ [ "$error" = "0" ] || `/sbin/validate_data "$package" "$type" "$name" "$@" 1> /dev/null`
return $error
}