From 5ed18994cd3e128a08ee5ff8e3d0eb63fc4d59dc Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Thu, 19 May 2016 15:58:15 +0100 Subject: [PATCH] Send error messages about incompatible bridge settings to stderr --- weave | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weave b/weave index 0b75b380..7d824974 100755 --- a/weave +++ b/weave @@ -621,7 +621,7 @@ create_bridge() { if [ "$BRIDGE_TYPE" = bridge -a -z "$WEAVE_NO_FASTDP" ] && util_op create-datapath $DATAPATH 2>/dev/null && util_op delete-datapath $DATAPATH 2>/dev/null ; then - cat <&1 + cat <&2 WEAVE_NO_FASTDP is not set, but there is already a bridge present of the wrong type for fast datapath. Please do 'weave reset' to remove the bridge first. @@ -629,7 +629,7 @@ EOF return 1 fi if [ "$BRIDGE_TYPE" != bridge -a -n "$WEAVE_NO_FASTDP" ] ; then - cat <&1 + cat <&2 WEAVE_NO_FASTDP is set, but there is already a weave fast datapath bridge present. Please do 'weave reset' to remove the bridge first. EOF