mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
fix variable expansion in ERR trap for setup.sh
This commit is contained in:
parent
3c664952b3
commit
941e7acdae
2
setup.sh
2
setup.sh
|
@ -7,7 +7,7 @@
|
||||||
SCRIPT='setup.sh'
|
SCRIPT='setup.sh'
|
||||||
|
|
||||||
set -euEo pipefail
|
set -euEo pipefail
|
||||||
trap '__log_err ${FUNCNAME[0]:-"?"} ${BASH_COMMAND:-"?"} ${LINENO:-"?"} ${?:-"?"}' ERR
|
trap '__log_err "${FUNCNAME[0]:-?}" "${BASH_COMMAND:-?}" "${LINENO:-?}" "${?:-?}"' ERR
|
||||||
trap '_unset_vars || :' EXIT
|
trap '_unset_vars || :' EXIT
|
||||||
|
|
||||||
function __log_err
|
function __log_err
|
||||||
|
|
Loading…
Reference in a new issue