mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 05:57:26 +00:00
testing
This commit is contained in:
@@ -82,10 +82,9 @@ explain_exit_code() {
|
||||
# === Error handler ============================================================
|
||||
error_handler() {
|
||||
local exit_code=${1:-$?}
|
||||
local command=${2:-${BASH_COMMAND:-unknown}}
|
||||
local line_number=${BASH_LINENO[0]:-unknown}
|
||||
local command=${LAST_SILENT_CMD:-${BASH_COMMAND:-unknown}}
|
||||
|
||||
# clean up cosmetic STD variable
|
||||
command="${command//\$STD/}"
|
||||
|
||||
if [[ "$exit_code" -eq 0 ]]; then
|
||||
|
||||
Reference in New Issue
Block a user