fix bash error in filter.sh
This commit is contained in:
parent
928153cd3d
commit
0f38d26b7b
@ -72,7 +72,7 @@ ARCHIVE_MIME="text/kaz_email_archive"
|
|||||||
|
|
||||||
FILE_SKIP_DOMAINS="/tmp/docker-mailserver/file_domaines_non_depollues.txt"
|
FILE_SKIP_DOMAINS="/tmp/docker-mailserver/file_domaines_non_depollues.txt"
|
||||||
#on enlève les commentaires et les lignes vides
|
#on enlève les commentaires et les lignes vides
|
||||||
SKIP_DOMAINS=`grep -Ev '^#|^[[:space:]]*$' $FILE_SKIP_DOMAINS`
|
SKIP_DOMAINS=$(grep -Ev '^#|^[[:space:]]*$' $FILE_SKIP_DOMAINS 2>/dev/null)
|
||||||
|
|
||||||
KEEP_FAILED=true
|
KEEP_FAILED=true
|
||||||
DEBUG=true
|
DEBUG=true
|
||||||
@ -224,7 +224,7 @@ mkdir -p "${REP_PIECE_JOINTE}/"
|
|||||||
>"${OLD_LINKS}"
|
>"${OLD_LINKS}"
|
||||||
>"${ARCHIVE_CONTENT}"
|
>"${ARCHIVE_CONTENT}"
|
||||||
|
|
||||||
if [ "${MODE}" = "none"]; then
|
if [ "${MODE}" = "none" ]; then
|
||||||
LOG_FIC " - ${GREEN}send without change (MODE=none)${NC}"
|
LOG_FIC " - ${GREEN}send without change (MODE=none)${NC}"
|
||||||
${SENDMAIL} "$@" < "${INSPECT_DIR}/in.$$"
|
${SENDMAIL} "$@" < "${INSPECT_DIR}/in.$$"
|
||||||
quitFilter 0
|
quitFilter 0
|
||||||
|
Loading…
Reference in New Issue
Block a user