diff options
-rwxr-xr-x | bin/isolated-functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh index 28653faf9..737c5dfb4 100755 --- a/bin/isolated-functions.sh +++ b/bin/isolated-functions.sh @@ -26,8 +26,8 @@ dump_trace() { (( p = ${#BASH_ARGV[@]} )) while (( n > 0 )) ; do [ "${FUNCNAME[${n}]}" == "qa_call" ] && break + (( p -= ${BASH_ARGC[${n}]} )) (( n-- )) - (( p -= ${BASH_ARGC[${n} - 1]} )) done if (( n == 0 )) ; then (( n = ${#FUNCNAME[@]} - 1 )) |