try to fix detail

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2023-08-09 14:45:38 +02:00
parent f1e9e9bf30
commit f280f09b6c

View file

@ -112,7 +112,7 @@ for name in "${NAMES[@]}"
do
OUTPUT="$(echo "$OUTPUT" | sed "/container_name.*$name$/i\ \ $name:")"
if [ "$name" != "nextcloud-aio-apache" ]; then
OUTPUT="$(echo "$OUTPUT" | sed "/ $name:/i\ ")"
OUTPUT="$(echo "$OUTPUT" | sed "/^ $name:/i\ ")"
fi
done