Removed unnecessary output.

This commit is contained in:
yohan 2020-02-23 16:56:51 +01:00
parent d2d33bd76b
commit ebca3beba6

View File

@ -1,9 +1,9 @@
#!/bin/bash #!/bin/bash
for NETWORK in mailnet mysqlnet reverse-proxy for NETWORK in mailnet mysqlnet reverse-proxy
do do
sudo docker network inspect ${NETWORK} && continue sudo docker network inspect ${NETWORK} &> /dev/null && continue
sudo docker network create ${NETWORK} 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; } { echo "ERROR: could not create network ${NETWORK}, exiting."; exit 1; }
done done