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