diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-12-02 13:56:54 +0400 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-12-02 13:56:54 +0400 |
commit | 318d682d29a8974aa53bd7dc523f1514eb0eddb9 (patch) | |
tree | 415cd25a958156a3c305bcbdd693ba76fd2fd4ea /sh | |
parent | 9636c0e79c268437f2d562ceecc7295066095ae3 (diff) |
jshn: in json_get_values(), handle json_select errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'sh')
-rw-r--r-- | sh/jshn.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -209,7 +209,7 @@ json_get_values() { unset "$_v_dest" [ -n "$2" ] && { - json_select "$2" + json_select "$2" || return 1 _select=1 } |