From e95bd156a57c647ca88d2c08e357b2b3f4aa97d9 Mon Sep 17 00:00:00 2001 From: Casper Date: Sun, 14 Jun 2020 04:34:25 +0200 Subject: [PATCH] Multi-line format --- setup.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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#*;}