You've already forked docker-mailserver
mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-08 23:06:49 +02:00
renamed function _errex
-> _exit_with_error
(#2497)
This commit is contained in:
@ -9,7 +9,7 @@ DOMAIN="${1}"
|
||||
|
||||
function usage { echo "Usage: excluderelayhost <domain>" ; }
|
||||
|
||||
[[ -z ${DOMAIN} ]] && { usage ; _errex "no domain specified" ; }
|
||||
[[ -z ${DOMAIN} ]] && { usage ; _exit_with_error "no domain specified" ; }
|
||||
|
||||
if grep -qi "^@${DOMAIN}" "${DATABASE}" 2>/dev/null
|
||||
then
|
||||
|
Reference in New Issue
Block a user