Skip to content

Commit

Permalink
changed ... do loop style
Browse files Browse the repository at this point in the history
  • Loading branch information
georglauterbach committed Apr 20, 2024
1 parent 208806d commit 2e8381f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions load
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@ if [[ ! -v __LIBBASH__IS_LOADED ]]; then
STACK_DEPTH=$(( ${#FUNCNAME[@]} - CUTOFF ))

printf '\ncall stack (most recent call first):\n' >&2
for FUNCTION in "${FUNCNAME[@]:${CUTOFF}:${STACK_DEPTH}}"
do
for FUNCTION in "${FUNCNAME[@]:${CUTOFF}:${STACK_DEPTH}}"; do
printf " %s\n" "${FUNCTION}" >&2
done

Expand Down

0 comments on commit 2e8381f

Please sign in to comment.