Quotes removed to have a uniform style

This commit is contained in:
Casper 2020-10-17 22:17:59 +02:00 committed by GitHub
parent 94c2a68bd5
commit 90778de19d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -397,7 +397,7 @@ function _setup_default_vars
# set PFLOGSUMM_TRIGGER here for backwards compatibility # set PFLOGSUMM_TRIGGER here for backwards compatibility
# when REPORT_RECIPIENT is on the old method should be used # when REPORT_RECIPIENT is on the old method should be used
if [[ "${REPORT_RECIPIENT}" == "0" ]] if [[ ${REPORT_RECIPIENT} == "0" ]]
then then
DEFAULT_VARS["PFLOGSUMM_TRIGGER"]="${PFLOGSUMM_TRIGGER:="none"}" DEFAULT_VARS["PFLOGSUMM_TRIGGER"]="${PFLOGSUMM_TRIGGER:="none"}"
else else
@ -405,7 +405,7 @@ function _setup_default_vars
fi fi
# expand address to simplify the rest of the script # expand address to simplify the rest of the script
if [[ "${REPORT_RECIPIENT}" == "0" ]] || [[ "${REPORT_RECIPIENT}" == "1" ]] if [[ ${REPORT_RECIPIENT} == "0" ]] || [[ ${REPORT_RECIPIENT} == "1" ]]
then then
REPORT_RECIPIENT="${POSTMASTER_ADDRESS}" REPORT_RECIPIENT="${POSTMASTER_ADDRESS}"
DEFAULT_VARS["REPORT_RECIPIENT"]="${REPORT_RECIPIENT}" DEFAULT_VARS["REPORT_RECIPIENT"]="${REPORT_RECIPIENT}"
@ -1339,7 +1339,7 @@ function _setup_postfix_override_configuration
then then
while read -r line while read -r line
do do
if [[ "${line}" =~ ^[0-9a-z] ]] if [[ ${line} =~ ^[0-9a-z] ]]
then then
postconf -P "${line}" postconf -P "${line}"
fi fi