From 87113219ed5ecbfb3848c9c2b8f25c3d2eac1a95 Mon Sep 17 00:00:00 2001 From: Sreejith Punnapuzha Date: Thu, 5 Dec 2019 15:07:47 -0600 Subject: [PATCH] Switch set -x to set -e to disable output This ps changes set -x to set -e in config.sh so that all the commands will not throw in output Change-Id: I08d2e56ea300509a3f579c888bfe6f1bd69deefd Signed-off-by: Sreejith Punnapuzha --- tools/multi_nodes_gate/airship_gate/bin/shipyard.sh | 2 +- tools/multi_nodes_gate/airship_gate/lib/config.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/multi_nodes_gate/airship_gate/bin/shipyard.sh b/tools/multi_nodes_gate/airship_gate/bin/shipyard.sh index 3bab782d..d0fe1cc5 100755 --- a/tools/multi_nodes_gate/airship_gate/bin/shipyard.sh +++ b/tools/multi_nodes_gate/airship_gate/bin/shipyard.sh @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -set -x +set -e SCRIPT_DIR="$(realpath "$(dirname "$0")")" WORKSPACE="$(realpath "${SCRIPT_DIR}/../../..")" diff --git a/tools/multi_nodes_gate/airship_gate/lib/config.sh b/tools/multi_nodes_gate/airship_gate/lib/config.sh index e7959df8..add33a8f 100644 --- a/tools/multi_nodes_gate/airship_gate/lib/config.sh +++ b/tools/multi_nodes_gate/airship_gate/lib/config.sh @@ -256,7 +256,7 @@ config_net_is_layer3() { config_netspec_for_role() { role="$1" - set -x + set -e for net in $(config_net_list) do