„gaboshlib/g_newtorip.bashfunc“ ändern

This commit is contained in:
olli 2022-09-21 18:09:52 +02:00
parent 5bdfa66c93
commit b5e3fc1581

View File

@ -4,7 +4,7 @@ function g_newtorip {
g_echo "Hole per Tor ne neue IP"
g_iptor
g_echo "Aktuelle Tor IP $g_iptor"
(echo authenticate '""'; echo signal newnym; echo quit) | nc localhost 9051
(echo authenticate '""'; echo signal newnym; echo quit) | nc localhost 9051 || g_echo_error "failed connection to tor service"
g_echo "Warte 10 Sekunden"
sleep 10
g_iptor