Update build.func

This commit is contained in:
CanbiZ 2025-04-08 09:18:33 +02:00
parent efeeb9c0dc
commit 29b7f5ca06

View File

@ -146,14 +146,14 @@ msg_info() {
msg_ok() {
local msg="$1"
stop_spinner
printf "\r\e[2K%s %b\n" "${CM}" "${GN}${msg}${CL}" >&2
printf "${CM}" "${GN}${msg}${CL}" >&2
unset MSG_INFO_SHOWN["$msg"]
}
msg_error() {
stop_spinner
local msg="$1"
printf "\r\e[2K%s %b\n" "${CROSS}" "${RD}${msg}${CL}" >&2
printf "${CROSS}" "${RD}${msg}${CL}" >&2
log_message "ERROR" "$msg"
}