Browse Source

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

pull/363/head
bol-van 7 months ago
parent
commit
b6d2e06967
  1. 2
      blockcheck.sh

2
blockcheck.sh

@ -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()

Loading…
Cancel
Save