mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-07-22 03:34:38 +02:00
scripts: fix setting SRS_EXCLUDE_DOMAINS
during startup (#3271)
This commit is contained in:
parent
2f33f44f4a
commit
a735dddc52
1 changed files with 2 additions and 2 deletions
|
@ -170,8 +170,8 @@ function _setup_SRS
|
||||||
|
|
||||||
if [[ -n ${SRS_EXCLUDE_DOMAINS} ]]
|
if [[ -n ${SRS_EXCLUDE_DOMAINS} ]]
|
||||||
then
|
then
|
||||||
sed -i \
|
sedfile -i -E \
|
||||||
"s/^#\?(SRS_EXCLUDE_DOMAINS=).*$/\1=${SRS_EXCLUDE_DOMAINS}/g" \
|
"s|^#?(SRS_EXCLUDE_DOMAINS=).*|\1${SRS_EXCLUDE_DOMAINS}|" \
|
||||||
/etc/default/postsrsd
|
/etc/default/postsrsd
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue