Ahem
This commit is contained in:
parent
033f2ff159
commit
00a814ab4c
|
@ -5,7 +5,7 @@ port="$2"
|
||||||
if [ -z "$http_proxy" ]; then
|
if [ -z "$http_proxy" ]; then
|
||||||
nc "$host" "$port"
|
nc "$host" "$port"
|
||||||
else
|
else
|
||||||
proxy=$(echo http_proxy | sed 's/^https\?:\/\///' | sed 's/\/$//')
|
proxy=$(echo "$http_proxy" | sed 's/^https\?:\/\///' | sed 's/\/$//')
|
||||||
port=443 # Most won't want this
|
port=443 # Most won't want this
|
||||||
echo "$proxy" | grep '@'
|
echo "$proxy" | grep '@'
|
||||||
if [ $? == 0 ]; then
|
if [ $? == 0 ]; then
|
||||||
|
|
Loading…
Reference in a new issue