From ad67dc5d074c48c056155d55896c7724339ef570 Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Tue, 23 Dec 2014 19:50:08 +0000 Subject: [PATCH] don't swallow error Since sometimes the error is different from what we expect. --- weave | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weave b/weave index f1bfa731..1b010a6e 100755 --- a/weave +++ b/weave @@ -212,8 +212,8 @@ connect_container_to_bridge() { } launch() { - if ! ip netns exec $NETNS ip link show eth0 >/dev/null 2>&1 ; then - echo "No eth0 interface inside $CONTAINER_NAME container; perhaps you are running the docker daemon with container networking disabled (-b=none)." >&2 + if ! ip netns exec $NETNS ip link show eth0 >/dev/null ; then + echo "Perhaps you are running the docker daemon with container networking disabled (-b=none)." >&2 return 1 fi connect_container_to_bridge &&