commit c6aef8098d37a1773439117a5674bfc8662ef62b
parent 770343d49da33bab5025d37d5227c91bbf5f7294
Author: Jan Pobříslo <ccx@te2000.cz>
Date: Sat, 17 Sep 2022 13:37:11 +0200
Print stack top to bottom
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/confz b/bin/confz
@@ -19,7 +19,7 @@ typeset -g confz_indent check_only verbose fail_reason quiet
die() {
print -r - "$fg_bold[red]Fatal$reset_color error occurend in:" >&2
local n
- for n in {1..${#funcfiletrace}}; do
+ for n in {${#funcfiletrace}..1}; do
printf '%d> %s (%s)\n' $n "$funcfiletrace[$n]" "$functrace[$n]"
done
print -r - "$fg_bold[red]*$reset_color $@" >&2