Changeset 38788


Ignore:
Timestamp:
2013-11-13T11:57:16+01:00 (4 years ago)
Author:
blogic
Message:

procd: options with default values are not parsed properly in the ubus register code

Signed-off-by: John Crispin <blogic@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/system/procd/files/procd.sh

    r38786 r38788  
    230230 
    231231                while [ -n "$1" ]; do 
    232                         json_add_string "${1%:*}" "${1#*:}" 
     232                        local tmp=${1#*:} 
     233                        json_add_string "${1%%:*}" "${tmp%%:*}" 
    233234                        shift 
    234235                done 
Note: See TracChangeset for help on using the changeset viewer.