Add new line to error message

This commit is contained in:
Slava 2024-11-11 23:28:16 +02:00
parent 2765517999
commit cdf00b6d2e
No known key found for this signature in database
GPG Key ID: 351E7AA9BD0DFEB8

View File

@ -56,7 +56,7 @@ show_pass() {
show_fail() {
echo -e "\r\e[1A\e[0K ${FAIL_MARK} ${1}"
[[ -n "${2}" ]] && echo -e "\e[31m \n Error: ${2}\e[0m"
[[ -n "${2}" ]] && echo -e "\e[31m \n Error: ${2}\e[0m\n"
exit 1
}