diff --git a/setup.sh b/setup.sh index 1dfd612d..ac2d7e29 100755 --- a/setup.sh +++ b/setup.sh @@ -25,7 +25,11 @@ if [ -z "$CRI" ]; then fi fi -INFO=$($CRI ps --no-trunc --format "{{.Image}};{{.Names}}" --filter label=org.label-schema.name="docker-mailserver" | tail -1) +INFO=$($CRI ps \ + --no-trunc \ + --format "{{.Image}};{{.Names}}" \ + --filter label=org.label-schema.name="docker-mailserver" | \ + tail -1) IMAGE_NAME=${INFO%;*} CONTAINER_NAME=${INFO#*;}