fixed svc-hostname script error with curl and grep

This commit is contained in:
B.J. Dweck 2021-06-07 08:02:19 +00:00
parent 573f5a8c9e
commit a5059fafae

View File

@ -1,6 +1,6 @@
#!/bin/sh
while ! curl -s --socks5 127.0.0.1:9050 'https://check.torproject.org/' | grep -qm1 Congratulations
while ! curl -s -N --socks5 127.0.0.1:9050 'https://check.torproject.org/' | grep -qm1 Congratulations
do
sleep 0.5
done