projects
/
project
/
libubox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
jshn: in json_get_values(), handle json_select errors
[project/libubox.git]
/
sh
/
jshn.sh
diff --git
a/sh/jshn.sh
b/sh/jshn.sh
index
176063f
..
70b7976
100644
(file)
--- a/
sh/jshn.sh
+++ b/
sh/jshn.sh
@@
-209,7
+209,7
@@
json_get_values() {
unset "$_v_dest"
[ -n "$2" ] && {
- json_select "$2"
+ json_select "$2"
|| return 1
_select=1
}