mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-30 05:50:53 +03:00
blockcheck: use /usr/local/bin/curl./blockcheck.sh in echo
This commit is contained in:
parent
fba93f8e58
commit
b6d2e06967
@ -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…
Reference in New Issue
Block a user