diff --git a/bin/miaou-bash b/bin/miaou-bash index ab13bae..7233a0b 100755 --- a/bin/miaou-bash +++ b/bin/miaou-bash @@ -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 }