diff --git a/bin/bash-back b/bin/bash-back index 199784d..0538959 100755 --- a/bin/bash-back +++ b/bin/bash-back @@ -78,7 +78,7 @@ function on_exit { stack_summary+=("ERROR $code: [$message]") fi else - regex=' .*:[0-9]* .*' + regex="^ .*:[0-9]* .*\$" [[ "$last_error" =~ $regex ]] || stack_summary+=("ERROR $code: ") fi diff --git a/useless.sh b/useless.sh index df57f24..0323e08 100755 --- a/useless.sh +++ b/useless.sh @@ -31,8 +31,8 @@ function F3 { echo start of useless F3 -. lib/utility.bash lib/utility.bash +. lib/utility.bash # >&2 echo some trace in stderr main