Merge pull request #1830 from landergate/patch-1

This commit is contained in:
Georg Lauterbach 2021-02-22 23:27:55 +01:00 committed by GitHub
commit 73ca77e7df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -392,10 +392,9 @@ function _setup_default_vars
fi
# expand address to simplify the rest of the script
if [[ ${REPORT_RECIPIENT} == "0" ]] || [[ ${REPORT_RECIPIENT} == "0" ]]
if [[ ${REPORT_RECIPIENT} == "0" ]] || [[ ${REPORT_RECIPIENT} == "1" ]]
then
REPORT_RECIPIENT="${POSTMASTER_ADDRESS}"
REPORT_RECIPIENT="${REPORT_RECIPIENT}"
fi
PFLOGSUMM_RECIPIENT="${PFLOGSUMM_RECIPIENT:=${REPORT_RECIPIENT}}"