From 4e03f2805ead2e1117fb124dda50af58964b686a Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 23 Aug 2025 19:42:48 +0200 Subject: [PATCH] Improve presentation of failed command --- builder/cmds/autostart.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/builder/cmds/autostart.sh b/builder/cmds/autostart.sh index 6b71013..42860de 100644 --- a/builder/cmds/autostart.sh +++ b/builder/cmds/autostart.sh @@ -16,7 +16,9 @@ chroot_bash() { catch_errors() { echo -e "\n\e[31mOmarchy installation failed!\e[0m" - echo "The failing command was: \`$BASH_COMMAND\` (exit code: $?)" + echo + echo "This command caused it with exit code $?:" + echo "$BASH_COMMAND" echo echo "Get help from the community via QR code or at https://discord.gg/tXFUdasqhY" echo " "