mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-06-24 09:49:12 +02:00
function _defunc removed (#2199)
* function _defunc removed * _shutdown is better than just notify in that cases * PANIC_TYPE 'fail-init' introduced Co-authored-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
This commit is contained in:
parent
6715e0bba9
commit
c7e9dd2bad
7 changed files with 36 additions and 44 deletions
|
@ -373,8 +373,7 @@ function _setup_dovecot_local_user
|
|||
then
|
||||
if [[ ${ENABLE_LDAP} -eq 0 ]]
|
||||
then
|
||||
_notify 'fatal' 'Unless using LDAP, you need at least 1 email account to start Dovecot.'
|
||||
_defunc
|
||||
_shutdown 'Unless using LDAP, you need at least 1 email account to start Dovecot.'
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue