mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-07-24 12:44:47 +02:00
scripts: improve panic helpers (#3155)
This commit is contained in:
parent
b5fc40eb7a
commit
dab70709d9
11 changed files with 53 additions and 34 deletions
|
@ -38,7 +38,7 @@ function _check_hostname
|
|||
# HOSTNAME should be an FQDN (eg: hostname.domain)
|
||||
if ! grep -q -E '^(\S+[.]\S+)$' <<< "${HOSTNAME}"
|
||||
then
|
||||
_shutdown 'Setting hostname/domainname is required'
|
||||
_dms_panic__general 'Setting hostname/domainname is required' '' 'immediate'
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue