[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] [torflow/master 3/8] Exit immediately after failing to connect to Tor



Author: John M. Schanck <john@xxxxxxxxxxx>
Date: Sat, 15 May 2010 21:19:05 -0400
Subject: Exit immediately after failing to connect to Tor
Commit: 76618dc772e5da368b80351955333bb55880d59c

---
 NetworkScanners/ExitAuthority/soat.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/NetworkScanners/ExitAuthority/soat.py b/NetworkScanners/ExitAuthority/soat.py
index cf6706f..7b9c99a 100755
--- a/NetworkScanners/ExitAuthority/soat.py
+++ b/NetworkScanners/ExitAuthority/soat.py
@@ -2685,6 +2685,7 @@ def main(argv):
   except Exception, e:
     traceback.print_exc()
     plog("WARN", "Can't connect to Tor: "+str(e))
+    return
 
   global datahandler
   datahandler = DataHandler()
-- 
1.6.5