procd: options with default values are not parsed properly in the ubus register code
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38788
This commit is contained in:
parent
1f93857092
commit
50db95e2f0
1 changed files with 2 additions and 1 deletions
|
@ -229,7 +229,8 @@ uci_validate_section()
|
|||
shift; shift; shift
|
||||
|
||||
while [ -n "$1" ]; do
|
||||
json_add_string "${1%:*}" "${1#*:}"
|
||||
local tmp=${1#*:}
|
||||
json_add_string "${1%%:*}" "${tmp%%:*}"
|
||||
shift
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in a new issue