X-Git-Url: http://git.archive.openwrt.org/?p=project%2Flibubox.git;a=blobdiff_plain;f=sh%2Fjshn.sh;fp=sh%2Fjshn.sh;h=70b7976e55468c2aabf85c8592cdf28caaf89e29;hp=176063fe8cc2ff674211317a317fc2d48e066290;hb=318d682d29a8974aa53bd7dc523f1514eb0eddb9;hpb=9636c0e79c268437f2d562ceecc7295066095ae3 diff --git a/sh/jshn.sh b/sh/jshn.sh index 176063f..70b7976 100644 --- 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 }