1
0
mirror of https://github.com/docker-mailserver/docker-mailserver.git synced 2025-06-22 04:28:29 +02:00

change if style (#3361)

This commit is contained in:
Casper
2023-05-24 09:06:59 +02:00
committed by GitHub
parent 0e592aa911
commit cf74127f78
58 changed files with 297 additions and 594 deletions

View File

@ -2,8 +2,7 @@
function _exit_with_error
{
if [[ -n ${1+set} ]]
then
if [[ -n ${1+set} ]]; then
_log 'error' "${1}"
else
_log 'error' "Call to '_exit_with_error' is missing a message to log"
@ -58,8 +57,7 @@ function dms_panic
;;
esac
if [[ -n ${PANIC_SCOPE:-} ]]
then
if [[ -n ${PANIC_SCOPE:-} ]]; then
_shutdown "${PANIC_SCOPE} | ${SHUTDOWN_MESSAGE}"
else
_shutdown "${SHUTDOWN_MESSAGE}"