[tor-commits] [flashproxy/master] Do a long delay only when the browser isn't running yet.
dcf at torproject.org
dcf at torproject.org
Mon Oct 31 02:14:51 UTC 2011
commit f53313602b7ebc57f00941aa1e064fff6ba3995a
Author: David Fifield <david at bamsoftware.com>
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() {
More information about the tor-commits
mailing list