blockcheck: use /usr/local/bin/curl./blockcheck.sh in echo

This commit is contained in:
bol-van 2024-09-05 18:28:26 +03:00
parent fba93f8e58
commit b6d2e06967

View File

@ -549,7 +549,7 @@ curl_with_subst_ip()
local connect_to="--connect-to $1::[$3]${2:+:$2}" arg local connect_to="--connect-to $1::[$3]${2:+:$2}" arg
shift ; shift ; shift shift ; shift ; shift
[ "$CURL_VERBOSE" = 1 ] && arg="-v" [ "$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 "$@" ALL_PROXY="$ALL_PROXY" $CURL ${arg:+$arg }$connect_to "$@"
} }
curl_with_dig() curl_with_dig()