projects
/
oweals
/
libubox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9636c0e
)
jshn: in json_get_values(), handle json_select errors
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 2 Dec 2013 09:56:54 +0000
(10:56 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 2 Dec 2013 09:56:54 +0000
(10:56 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
sh/jshn.sh
patch
|
blob
|
history
diff --git
a/sh/jshn.sh
b/sh/jshn.sh
index 176063fe8cc2ff674211317a317fc2d48e066290..70b7976e55468c2aabf85c8592cdf28caaf89e29 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
}