diff options
author | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2022-10-19 06:06:00 +0200 |
---|---|---|
committer | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2022-10-19 06:07:57 +0200 |
commit | 3c7623c056773cab3814d9ccca8a529cb73a707c (patch) | |
tree | 1e37bb4af02d78de2ba482a4ca56800e79c9f07e /neuesPerlPaket | |
parent | 2761877d30c08fe1e89b206133b0952ac8ddf18b (diff) | |
download | archlinuxewe-3c7623c056773cab3814d9ccca8a529cb73a707c.tar.xz |
neuesPerlPaket: also try without tor
Diffstat (limited to 'neuesPerlPaket')
-rwxr-xr-x | neuesPerlPaket | 5 |
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 ) |