Fix variable handling in crash handler

This commit is contained in:
JeremyStar™ 2024-11-17 17:05:06 +01:00
parent 946263a453
commit 128a6487cb
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -98,7 +98,7 @@ Operating system
$(if [ -f "/etc/os-release" ]; then cat "/etc/os-release" | while read -r line; do echo " -> ${line}"; done; else echo "/etc/os-release does not exist"; fi)
Environment
$(for line in $(env); do echo " -> ${line}"; done)
$(env | while read -r line; do echo " -> ${line}"; done)
Stacktrace
$(for index in $(seq 0 1000); do if [ -z "$(caller "${index}")" ]; then break; else echo " -> $(caller "${index}")"; fi; done)