mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 05:03:43 +01:00
Fix SC2181
This commit is contained in:
parent
2649239c62
commit
7e415ec05a
@ -53,8 +53,8 @@ TMPFILE=$(mktemp)
|
||||
trap 'rm -f "$TMPFILE"' 0
|
||||
|
||||
for dirserver in $DIRSERVERS; do
|
||||
wget -q -O "$TMPFILE" "http://$dirserver/tor/keys/fp/$identity"
|
||||
if [ "$?" = 0 ]; then
|
||||
if wget -q -O "$TMPFILE" "http://$dirserver/tor/keys/fp/$identity"
|
||||
then
|
||||
break
|
||||
else
|
||||
cat /dev/null > "$TMPFILE"
|
||||
|
Loading…
Reference in New Issue
Block a user