This commit is contained in:
pvincent
2026-07-16 21:42:57 +04:00
parent c3ca60ca66
commit 1f2db3946d
+2 -2
View File
@@ -83,7 +83,7 @@ function on_exit {
regex="^return ([0-9]*) from (.*)\$" regex="^return ([0-9]*) from (.*)\$"
if [[ "$message" =~ $regex ]]; then if [[ "$message" =~ $regex ]]; then
return_code="${BASH_REMATCH[1]}" # return_code="${BASH_REMATCH[1]}"
funcname="${BASH_REMATCH[2]}" funcname="${BASH_REMATCH[2]}"
# >&4 echo "RETURN DETECTED line ${stack_sources[0]} $line $funcname" # >&4 echo "RETURN DETECTED line ${stack_sources[0]} $line $funcname"
stack_sources=("${stack_sources[0]}" "${stack_sources[@]}") stack_sources=("${stack_sources[0]}" "${stack_sources[@]}")
@@ -167,7 +167,7 @@ function on_exit {
} }
function debug { function debug {
$MIAOU_BASH_DEBUG && >/dev/tty echo "*********** DEBUG: $@" $MIAOU_BASH_DEBUG && >/dev/tty echo "*********** DEBUG: $*"
true true
} }