[tor-commits] [flashproxy/master] Make it only a warning if no relays were configured.

infinity0 at torproject.org infinity0 at torproject.org
Mon Oct 28 14:47:40 UTC 2013


commit 45a5184e78d288d7ce7626c6362318afbccda1b3
Author: David Fifield <david at bamsoftware.com>
Date:   Fri Sep 20 22:15:54 2013 -0700

    Make it only a warning if no relays were configured.
---
 facilitator/facilitator |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/facilitator/facilitator b/facilitator/facilitator
index f6be9e0..55f4af0 100755
--- a/facilitator/facilitator
+++ b/facilitator/facilitator
@@ -522,7 +522,7 @@ obfs2|websocket 1.4.6.1:4123\
         sys.exit(1)
 
     if not options.relays:
-        sys.exit(1)
+        print >> sys.stderr, u"Warning: no relays configured."
 
     # Create RegSets for our supported transports
     for transport in options.relays.keys():





More information about the tor-commits mailing list