diff --git a/runtime/experiments/bash_libraries/panic.sh b/runtime/experiments/bash_libraries/panic.sh index 8533823..a204315 100644 --- a/runtime/experiments/bash_libraries/panic.sh +++ b/runtime/experiments/bash_libraries/panic.sh @@ -10,7 +10,7 @@ __common_dump_callstack() { echo "Call Stack:" # Skip the dump_bash_stack and error_msg_frames for ((i = 2; i < ${#FUNCNAME[@]}; i++)); do - printf "\t%d - %s\n" "$((i - 2))" "${FUNCNAME[i]} (${BASH_SOURCE[i + 1]}:${BASH_LINENO[i]})" + printf "\t%d - %s\n" "$((i - 2))" "${FUNCNAME[i]} (${BASH_SOURCE[i + 1]}:${BASH_LINENO[i + 1]})" done }