From b6d2e069671388803fe5abb466fa14377bf0c724 Mon Sep 17 00:00:00 2001 From: bol-van Date: Thu, 5 Sep 2024 18:28:26 +0300 Subject: [PATCH] blockcheck: use /usr/local/bin/curl./blockcheck.sh in echo --- blockcheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blockcheck.sh b/blockcheck.sh index ab760e8..e69aaee 100755 --- a/blockcheck.sh +++ b/blockcheck.sh @@ -549,7 +549,7 @@ curl_with_subst_ip() local connect_to="--connect-to $1::[$3]${2:+:$2}" arg shift ; shift ; shift [ "$CURL_VERBOSE" = 1 ] && arg="-v" - [ "$CURL_CMD" = 1 ] && echo curl ${arg:+$arg }$connect_to "$@" + [ "$CURL_CMD" = 1 ] && echo $CURL ${arg:+$arg }$connect_to "$@" ALL_PROXY="$ALL_PROXY" $CURL ${arg:+$arg }$connect_to "$@" } curl_with_dig()