mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
procd: fix processing of datatype specification with spaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38935 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user