2
0
mirror of https://github.com/tomav/docker-mailserver synced 2025-09-05 00:35:38 +00:00

change if style (#3361)

This commit is contained in:
Casper
2023-05-24 09:06:59 +02:00
committed by GitHub
parent 0e592aa911
commit cf74127f78
58 changed files with 297 additions and 594 deletions

View File

@@ -26,8 +26,7 @@ function _default_start_daemon
RESULT=$(supervisorctl start "${1}" 2>&1)
# shellcheck disable=SC2181
if [[ ${?} -ne 0 ]]
then
if [[ ${?} -ne 0 ]]; then
_log 'error' "${RESULT}"
_dms_panic__fail_init "${1}"
fi
@@ -61,8 +60,7 @@ function _start_daemon_postfix
function _start_daemon_fetchmail
{
if [[ ${FETCHMAIL_PARALLEL} -eq 1 ]]
then
if [[ ${FETCHMAIL_PARALLEL} -eq 1 ]]; then
local COUNTER=0
for _ in /etc/fetchmailrc.d/fetchmail-*.rc
do