aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/procd
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
commit387761e2fc301ae98e30037d6c9065706ee6662d (patch)
tree5235069d553c77da4ce507d3b1effe58f76f7a44 /package/system/procd
parent8adb3fb74d3e02c9731f3f6153c9befc72187968 (diff)
downloadupstream-387761e2fc301ae98e30037d6c9065706ee6662d.tar.gz
upstream-387761e2fc301ae98e30037d6c9065706ee6662d.tar.bz2
upstream-387761e2fc301ae98e30037d6c9065706ee6662d.zip
procd: fix processing of datatype specification with spaces
SVN-Revision: 38935
Diffstat (limited to 'package/system/procd')
-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
}