Fix jq _checkdep return
This commit is contained in:
parent
589f30327a
commit
39fa88375f
2
cmd
2
cmd
|
@ -462,7 +462,7 @@ _config_dump() {
|
||||||
# ----------------------------- utilities ----------------------------
|
# ----------------------------- utilities ----------------------------
|
||||||
|
|
||||||
_jsonstr() {
|
_jsonstr() {
|
||||||
_checkdep jq
|
_checkdep jq || return $?
|
||||||
_buffer "$@" && return $?
|
_buffer "$@" && return $?
|
||||||
jq -MRsc <<< "$1"
|
jq -MRsc <<< "$1"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue