cleanup
This commit is contained in:
+2
-2
@@ -83,7 +83,7 @@ function on_exit {
|
||||
|
||||
regex="^return ([0-9]*) from (.*)\$"
|
||||
if [[ "$message" =~ $regex ]]; then
|
||||
return_code="${BASH_REMATCH[1]}"
|
||||
# return_code="${BASH_REMATCH[1]}"
|
||||
funcname="${BASH_REMATCH[2]}"
|
||||
# >&4 echo "RETURN DETECTED line ${stack_sources[0]} $line $funcname"
|
||||
stack_sources=("${stack_sources[0]}" "${stack_sources[@]}")
|
||||
@@ -167,7 +167,7 @@ function on_exit {
|
||||
}
|
||||
|
||||
function debug {
|
||||
$MIAOU_BASH_DEBUG && >/dev/tty echo "*********** DEBUG: $@"
|
||||
$MIAOU_BASH_DEBUG && >/dev/tty echo "*********** DEBUG: $*"
|
||||
true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user