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
master
John Crispin 11 years ago
parent 1f93857092
commit 50db95e2f0
  1. 3
      package/system/procd/files/procd.sh

@ -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…
Cancel
Save