From 6099f7a0b3c3ee2bed27e743a454b0a874c344ec Mon Sep 17 00:00:00 2001 From: josep-tecnativa Date: Tue, 20 Feb 2024 11:17:53 +0100 Subject: [PATCH] [FIX] Fix newline auto-generated With the last change, updating docker-mailserver, when common.yaml is generated empty newline is generated. --- common.yaml.jinja | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common.yaml.jinja b/common.yaml.jinja index 88b3cc3e..1004e625 100644 --- a/common.yaml.jinja +++ b/common.yaml.jinja @@ -63,11 +63,11 @@ services: - SYS_PTRACE environment: DEFAULT_RELAY_HOST: "[{{ smtp_relay_host }}]:{{ smtp_relay_port }}" - {% if smtp_relay_version|float < 11.0 %} + {% if smtp_relay_version|float < 11.0 -%} DMS_DEBUG: 0 {% else %} LOG_LEVEL: info - {% endif %} + {%- endif %} ENABLE_SRS: 1 ONE_DIR: 1 PERMIT_DOCKER: connected-networks