1 files changed, 3 insertions(+), 1 deletions(-)
M ddns.sh
M ddns.sh => ddns.sh +3 -1
@@ 4,7 4,9 @@ set -euo pipefail
_jq=jq
# gojq is sooo much faster than jq, so prefer it if it is available
-[ command -v gojq 2>/dev/null ] && _jq=gojq
+if command -v gojq 2>/dev/null 1>&2; then
+ _jq=gojq
+fi
usage() {
cat <<-EOF