diff --git a/bin/bash-back b/bin/bash-back index beb281c..dc1f996 100755 --- a/bin/bash-back +++ b/bin/bash-back @@ -88,7 +88,7 @@ function on_exit { # lib/utility.bash # which contains error # ``` regex="^ .*:[0-9]* .*\$" - [[ "$last_error" =~ $regex ]] || stack_summary+=("ERROR $code: ") + [[ "$last_error" =~ $regex ]] || stack_summary+=("ERROR $code:") # fi for i in "${!stack_functions[@]}"; do