mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
update-check: fix 'read' exit status (#3688)
Co-authored-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
This commit is contained in:
parent
77917f5cc6
commit
d3b4e94d06
|
@ -24,6 +24,7 @@ All notable changes to this project will be documented in this file. The format
|
|||
- **Internal**:
|
||||
- The container startup welcome log message now references `DMS_RELEASE` ([#3676](https://github.com/docker-mailserver/docker-mailserver/pull/3676))
|
||||
- `VERSION` was incremented for prior releases to be notified of the v13.0.1 patch release ([#3676](https://github.com/docker-mailserver/docker-mailserver/pull/3676))
|
||||
- Update-check: fix 'read' exit status ([#3688](https://github.com/docker-mailserver/docker-mailserver/pull/3688))
|
||||
- **Rspamd:**
|
||||
- Switch to official arm64 packages to avoid segfaults ([#3686](https://github.com/docker-mailserver/docker-mailserver/pull/3686))
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ while true; do
|
|||
# compare versions
|
||||
if dpkg --compare-versions "${VERSION}" lt "${LATEST}"; then
|
||||
# send mail notification to postmaster
|
||||
read -r -d '' MAIL << EOF
|
||||
read -r -d '#' MAIL << EOF
|
||||
Hello ${POSTMASTER_ADDRESS}!
|
||||
|
||||
There is a docker-mailserver update available on your host: $(hostname -f)
|
||||
|
@ -35,7 +35,7 @@ There is a docker-mailserver update available on your host: $(hostname -f)
|
|||
Current version: ${VERSION}
|
||||
Latest version: ${LATEST}
|
||||
|
||||
Changelog: ${CHANGELOG_URL}
|
||||
Changelog: ${CHANGELOG_URL}#END
|
||||
EOF
|
||||
|
||||
_log_with_date 'info' "Update available [ ${VERSION} --> ${LATEST} ]"
|
||||
|
|
Loading…
Reference in a new issue