1
0
mirror of https://github.com/docker-mailserver/docker-mailserver.git synced 2025-08-07 23:03:10 +02:00

Replace $_ in error trap (#1776)

This commit is contained in:
Casper
2021-01-28 14:50:28 +01:00
committed by GitHub
parent 7fd6751e89
commit 70267d89e5
3 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ _get_current_directory
# ? ––––––––––––––––––––––––––––––––––––––––––––– ERRORS
set -eEuo pipefail
trap '__log_err ${FUNCNAME[0]:-"?"} ${_:-"?"} ${LINENO:-"?"} ${?:-"?"}' ERR
trap '__log_err ${FUNCNAME[0]:-"?"} ${BASH_COMMAND:-"?"} ${LINENO:-"?"} ${?:-"?"}' ERR
function __log_err
{