Ignore stderr in proxy_addrs

This commit is contained in:
Adam Harrison committed 2016-01-20 14:24:59 +00:00
1 parent a3974c2aeb
commit 14944da396
1 file changed
+1 -1
+1 -1
View File
@@ -1476,7 +1476,7 @@ proxy_args() {
}
proxy_addrs() {
if addr="$(http_call_unix $PROXY_CONTAINER_NAME status.sock GET /status 2>&1)" ; then
if addr="$(http_call_unix $PROXY_CONTAINER_NAME status.sock GET /status 2>/dev/null)" ; then
echo "$addr" | sed "s/0.0.0.0/$PROXY_HOST/g"
else