[tor-commits] [ooni-probe/master] Stop reactor when we can't start the sniffer.
art at torproject.org
art at torproject.org
Fri May 17 18:03:18 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 files changed, 1 insertions(+), 0 deletions(-)
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