Fix msg_warn
This commit is contained in:
parent
726fb41072
commit
eb6abf0351
@ -321,7 +321,7 @@ msg_error() {
|
|||||||
msg_warn() {
|
msg_warn() {
|
||||||
local msg="${1:-Warning}"
|
local msg="${1:-Warning}"
|
||||||
stop_spinner
|
stop_spinner
|
||||||
printf "\r\e[2K%s %b\n" "${INFO}" "${YWB}${msg}${CL}" >&2
|
printf "\r\e[2K%s %b\n" "${INFO}" "${YWB}${msg}" >&2
|
||||||
|
|
||||||
# Remove from shown messages to allow it to be shown again
|
# Remove from shown messages to allow it to be shown again
|
||||||
unset MSG_INFO_SHOWN["$msg"]
|
unset MSG_INFO_SHOWN["$msg"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user