jshn: do not export SEQ_*
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
This commit is contained in:
parent
1a32939cb5
commit
2d4ce122c4
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ _json_add_table() {
|
||||||
local table="JSON_$itype$seq"
|
local table="JSON_$itype$seq"
|
||||||
_json_set_var "UP_$table" "$cur"
|
_json_set_var "UP_$table" "$cur"
|
||||||
_json_export "KEYS_$table" ""
|
_json_export "KEYS_$table" ""
|
||||||
[ "$itype" = "ARRAY" ] && _json_export "SEQ_$table" ""
|
[ "$itype" = "ARRAY" ] && _json_set_var "SEQ_$table" ""
|
||||||
_json_set_var JSON_CUR "$table"
|
_json_set_var JSON_CUR "$table"
|
||||||
_jshn_append "JSON_UNSET" "$table"
|
_jshn_append "JSON_UNSET" "$table"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue