Commit 3f41669f authored by Ansgar Burchardt's avatar Ansgar Burchardt

add missing flag `-q`

Otherwise the output is not empty even when the network doesn't exist.
parent c1cd4743
......@@ -30,7 +30,7 @@ if [ ! -e ${configfile} ]; then
exit 1
fi
if [ -z "$(docker network ls -f name=${network})" ]; then
if [ -z "$(docker network ls -q -f name=${network})" ]; then
docker network create --internal --driver=bridge ${network}
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment