mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-07-22 03:34:38 +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
|
@ -29,7 +29,7 @@ function _obtain_hostname_and_domainname
|
|||
# will result in an error that returns an empty value. This warrants a panic.
|
||||
if [[ -z ${HOSTNAME} ]]
|
||||
then
|
||||
dms_panic__misconfigured 'obtain_hostname' '/etc/hosts'
|
||||
_dms_panic__misconfigured 'obtain_hostname' '/etc/hosts'
|
||||
fi
|
||||
|
||||
# If the `HOSTNAME` is more than 2 labels long (eg: mail.example.com),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue