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

6 Jun
2013
6 Jun
'13
4:41 p.m.
commit 59d6fad8a19dd6f3a971c84474e977a886221129 Author: Arturo Filastò <art@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"
4384
Age (days ago)
4384
Last active (days ago)
0 comments
1 participants
participants (1)
-
isis@torproject.org