summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xneuesPerlPaket5
1 files changed, 3 insertions, 2 deletions
diff --git a/neuesPerlPaket b/neuesPerlPaket
index d46823458..b7e2663cb 100755
--- a/neuesPerlPaket
+++ b/neuesPerlPaket
@@ -60,8 +60,9 @@ fi
. perlFunktionen
seitenInhalt=$(
- for socksHost in 127.0.0.1:9050 192.168.0.3:9050; do
- curl -x "socks5h://${socksHost}" -Ss "${url}" && break
+ for socksHost in '' 127.0.0.1:9050 192.168.0.3:9050; do
+ [ -z "${socksHost}" ] && curl -Ss "${url}" && break
+ [ -n "${socksHost}" ] && curl -x "socks5h://${socksHost}" -Ss "${url}" && break
done
)