mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 19:35:54 +00:00
Update core.func
This commit is contained in:
@@ -435,7 +435,14 @@ msg_info() {
|
||||
|
||||
stop_spinner
|
||||
|
||||
if [[ "${VERBOSE:-no}" == "no" && -t 2 ]]; then
|
||||
msg_info() {
|
||||
local msg="$1"
|
||||
[[ -z "$msg" || -n "${MSG_INFO_SHOWN["$msg"]+x}" ]] && return
|
||||
MSG_INFO_SHOWN["$msg"]=1
|
||||
|
||||
stop_spinner
|
||||
|
||||
if [[ "${VERBOSE:-no}" == "no" && "${var_os:-}" != "alpine" && -t 2 ]]; then
|
||||
start_spinner "$msg"
|
||||
else
|
||||
printf "\r\e[2K%s %b" "$HOURGLASS" "${YW}${msg}${CL}" >&2
|
||||
|
||||
Reference in New Issue
Block a user