summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2012-12-12 10:09:25 +0000
committerweasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede>2012-12-12 10:09:25 +0000
commitd23ca1bcb128261e6f3cc465cb3749b3eff2214c (patch)
tree63ff4bf9c6a6dcb6fd936267ee3ff99b5fae3eac
parent0627816da92cd21de94ff574a644119f9f4ba223 (diff)
Also show diffs in the connect:errno case, with -vv
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@562 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
-rwxr-xr-xtor-exit-ssl-check1
1 files changed, 1 insertions, 0 deletions
diff --git a/tor-exit-ssl-check b/tor-exit-ssl-check
index dc17760..a3a0729 100755
--- a/tor-exit-ssl-check
+++ b/tor-exit-ssl-check
@@ -181,6 +181,7 @@ while : ; do
echo "RESULT: $server: No real differences."
[ "$verbose" = 0 ] || diff -U100 "$tmpdir/cert-tor" "$tmpdir/cert-direct" || true
elif egrep '^connect:errno=' "$tmpdir/cert-tor" > /dev/null; then
+ [ "$verbose" -lt 1 ] || diff -U100 "$tmpdir/cert-tor" "$tmpdir/cert-direct" || true
echo "RESULT: $server: Connect failed"
errors=1
else