From ebca3beba661437127b21d628c68c4aef075d009 Mon Sep 17 00:00:00 2001 From: yohan <783b8c87@scimetis.net> Date: Sun, 23 Feb 2020 16:56:51 +0100 Subject: [PATCH] Removed unnecessary output. --- start_or_update.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/start_or_update.sh b/start_or_update.sh index 4fcb274..e267c67 100755 --- a/start_or_update.sh +++ b/start_or_update.sh @@ -1,9 +1,9 @@ #!/bin/bash for NETWORK in mailnet mysqlnet reverse-proxy do - sudo docker network inspect ${NETWORK} && continue + sudo docker network inspect ${NETWORK} &> /dev/null && continue sudo docker network create ${NETWORK} - sudo docker network inspect ${NETWORK} || \ + sudo docker network inspect ${NETWORK} &> /dev/null || \ { echo "ERROR: could not create network ${NETWORK}, exiting."; exit 1; } done