tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 7e415ec05a1bb1cf5cda7088f2c27e9202b3b3f1
parent 2649239c620b57cc11c2499ed35fa571af996d18
Author: rl1987 <rl1987@sdf.lonestar.org>
Date:   Wed,  6 Feb 2019 10:51:54 +0200

Fix SC2181

Diffstat:
Mcontrib/dirauth-tools/nagios-check-tor-authority-cert | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/dirauth-tools/nagios-check-tor-authority-cert b/contrib/dirauth-tools/nagios-check-tor-authority-cert @@ -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"