[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [flashproxy/master] Do a long delay only when the browser isn't running yet.



commit f53313602b7ebc57f00941aa1e064fff6ba3995a
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date:   Sun Oct 30 17:02:06 2011 -0700

    Do a long delay only when the browser isn't running yet.
---
 experiments/common.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/experiments/common.sh b/experiments/common.sh
index 485e908..6f2deea 100644
--- a/experiments/common.sh
+++ b/experiments/common.sh
@@ -18,7 +18,7 @@ visible_sleep() {
 
 ensure_browser_started() {
 	local PROFILE="$1"
-	("$FIREFOX" -P "$PROFILE" -remote "ping()" || "$FIREFOX" -P "$PROFILE" -no-remote & visible_sleep 5) 2>/dev/null
+	("$FIREFOX" -P "$PROFILE" -remote "ping()" || ("$FIREFOX" -P "$PROFILE" -no-remote & visible_sleep 5)) 2>/dev/null
 }
 
 browser_clear() {



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits