[tor-commits] [ooni-probe/develop] Stop reactor when we can't start the sniffer.

isis at torproject.org isis at torproject.org
Thu Jun 6 16:41:39 UTC 2013


commit 59d6fad8a19dd6f3a971c84474e977a886221129
Author: Arturo Filastò <art at fuffa.org>
Date:   Fri May 17 20:04:21 2013 +0200

    Stop reactor when we can't start the sniffer.
---
 ooni/director.py |    1 +
 1 file changed, 1 insertion(+)

diff --git a/ooni/director.py b/ooni/director.py
index 1a3bfc1..809eae4 100644
--- a/ooni/director.py
+++ b/ooni/director.py
@@ -221,6 +221,7 @@ class Director(object):
         except errors.InsufficientPrivileges:
             print "[!] Includepcap options requires root priviledges to run"
             print "    you should run ooniprobe as root or disable the options in ooniprobe.conf"
+            reactor.stop()
             sys.exit(1)
 
         print "Starting sniffer"





More information about the tor-commits mailing list