mirror of
https://github.com/tomav/docker-mailserver
synced 2025-09-05 08:45:30 +00:00
renamed function _errex
-> _exit_with_error
(#2497)
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
#! /bin/bash
|
||||
|
||||
function _errex
|
||||
function _exit_with_error
|
||||
{
|
||||
if [[ -n ${1+set} ]]
|
||||
then
|
||||
_log 'error' "${1}"
|
||||
else
|
||||
_log 'error' "Call to '_errex' is missing a message to log"
|
||||
_log 'error' "Call to '_exit_with_error' is missing a message to log"
|
||||
fi
|
||||
|
||||
_log 'error' 'Aborting'
|
||||
|
Reference in New Issue
Block a user