procd: fix processing of datatype specification with spaces
SVN-Revision: 38935
This commit is contained in:
parent
8adb3fb74d
commit
387761e2fc
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue