mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-23 11:08:30 +02:00
change if style (#3361)
This commit is contained in:
parent
0e592aa911
commit
cf74127f78
58 changed files with 297 additions and 594 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue