Improve presentation of failed command
This commit is contained in:
1 parent
544828f119
commit
4e03f2805e
1 file changed
+3
-1
@@ -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 " "
|
||||
|
||||
Reference in new issue
Block a user