From a9229b91973c18e798e98b694ccf43c76df77354 Mon Sep 17 00:00:00 2001 From: Paul Bellamy Date: Mon, 20 Jul 2015 11:57:20 +0100 Subject: [PATCH] weave env should still work with '--log-level=debug' --- weave | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weave b/weave index a0114829..e3ce04ef 100755 --- a/weave +++ b/weave @@ -980,7 +980,7 @@ proxy_args() { } proxy_addr() { - if addr=$(docker logs $PROXY_CONTAINER_NAME 2>&1 | head -n3 | grep -oE "proxy listening on .*"); then + if addr=$(docker logs $PROXY_CONTAINER_NAME 2>&1 | head -n4 | grep -oE "proxy listening on .*"); then echo "${1}${addr##* }" | sed "s/0.0.0.0/$PROXY_HOST/g" else echo "$PROXY_CONTAINER_NAME container is not present. Have you launched it?" >&2