commit f53313602b7ebc57f00941aa1e064fff6ba3995a Author: David Fifield david@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() {
tor-commits@lists.torproject.org