[tor-commits] [flashproxy/master] Bail out after OSError on running registration helper.

dcf at torproject.org dcf at torproject.org
Mon Sep 24 06:26:36 UTC 2012


commit 9e0953c2fd595f0640d68147471a48dca4480756
Author: David Fifield <david at bamsoftware.com>
Date:   Sun Sep 23 21:42:20 2012 -0700

    Bail out after OSError on running registration helper.
---
 flashproxy-client |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/flashproxy-client b/flashproxy-client
index 83f620a..692a0f0 100755
--- a/flashproxy-client
+++ b/flashproxy-client
@@ -670,6 +670,7 @@ def register_one():
         stdout, stderr = p.communicate()
     except OSError, e:
         log(u"Error running registration helper: %s" % str(e))
+        return
     for line in stdout.splitlines():
         log(line)
     for line in stderr.splitlines():



More information about the tor-commits mailing list