sh/jshn.sh - json_cleanup() dont pollute env with local vars
[project/libubox.git] / sh / jshn.sh
index b3cd43c..06ba965 100644 (file)
@@ -103,7 +103,7 @@ json_set_namespace() {
 }
 
 json_cleanup() {
-       local unset
+       local unset tmp
 
        _json_get_var unset JSON_UNSET
        for tmp in $unset JSON_VAR; do