Browse Source

undefined

main
pvincent 1 week ago
parent
commit
c19c3ccfe3
  1. 2
      bin/bash-back

2
bin/bash-back

@ -88,7 +88,7 @@ function on_exit {
# lib/utility.bash # which contains error # lib/utility.bash # which contains error
# ``` # ```
regex="^ .*:[0-9]* .*\$" regex="^ .*:[0-9]* .*\$"
[[ "$last_error" =~ $regex ]] || stack_summary+=("ERROR $code: <undefined>")
[[ "$last_error" =~ $regex ]] || stack_summary+=("ERROR $code:") # <undefined>
fi fi
for i in "${!stack_functions[@]}"; do for i in "${!stack_functions[@]}"; do

Loading…
Cancel
Save