From bd3a2bc0c8c80ea40c7a4efe18da627cea69d956 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois?= Date: Fri, 20 Oct 2023 19:29:20 +0200 Subject: [PATCH] update var name --- src/bash/filter.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bash/filter.sh b/src/bash/filter.sh index 675ed41..119e037 100755 --- a/src/bash/filter.sh +++ b/src/bash/filter.sh @@ -71,7 +71,7 @@ DISCLAMER_CMD=altermime MAX_FINAL_SIZE=2097152 # 2Mi ARCHIVE_TITLE="archive_content" ARCHIVE_MIME="text/kaz_email_archive" -SKIP_DEST_DOMAIN_="/tmp/docker-mailserver/dest-domain-no-depol.txt" +SKIP_DEST_DOMAIN="/tmp/docker-mailserver/dest-domain-no-depol.txt" KEEP_FAILED=true DEBUG= @@ -149,7 +149,7 @@ skip_domain () { DOM=$(get_domaine ${ARG}) [ -n "${DOM}" ] || continue if [ -z "${LEFT}" ]; then - grep -q "^${DOM}$" "${SKIP_DEST_DOMAIN_}" 2>/dev/null && echo "yes" + grep -q "^${DOM}$" "${SKIP_DEST_DOMAIN}" 2>/dev/null && echo "yes" fi done }