V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 40s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 40s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -57,4 +57,11 @@
|
||||
☢️
|
||||
☣️
|
||||
•
|
||||
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
|
||||
↳
|
||||
⤷
|
||||
➥
|
||||
└
|
||||
╰
|
||||
↘
|
||||
⮟
|
||||
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
|
||||
|
||||
@@ -168,20 +168,14 @@ print_scr_err() {
|
||||
# None
|
||||
#######################################
|
||||
print_stacktrace() {
|
||||
# ⤷
|
||||
# ➥
|
||||
# └
|
||||
# ╰
|
||||
# ↘
|
||||
# ⮟
|
||||
declare -i i=0
|
||||
printf "%b❌ %b%b" "${RED}" "${RES}" "${NL}"
|
||||
printf "%b❌ Raw Stacktrace : %b%b" "${RED}" "${RES}" "${NL}"
|
||||
for ((i=0; i<${#FUNCNAME[@]}-1; i++)); do
|
||||
if (( i == 0 )); then
|
||||
printf "%b❌ ↳ %s() at: [%s:%s] %b%b" "${RED}" "${FUNCNAME[i]}" "${BASH_SOURCE[i]}" "${LINENO:-?}" "${RES}" "${NL}"
|
||||
printf "%b❌ ➥ %s() at: [%s:%s] %b%b" "${RED}" "${FUNCNAME[i]}" "${BASH_SOURCE[i]}" "${LINENO:-?}" "${RES}" "${NL}"
|
||||
else
|
||||
printf "%b❌ ↳ %s() at: [%s:%s] %b%b" "${RED}" "${FUNCNAME[i]}" "${BASH_SOURCE[i]}" "${BASH_LINENO[i-1]:-?}" "${RES}" "${NL}"
|
||||
printf "%b❌ ➥ %s() at: [%s:%s] %b%b" "${RED}" "${FUNCNAME[i]}" "${BASH_SOURCE[i]}" "${BASH_LINENO[i-1]:-?}" "${RES}" "${NL}"
|
||||
fi
|
||||
done
|
||||
printf "%b" "${NL}"
|
||||
|
||||
Reference in New Issue
Block a user