Update core.func
This commit is contained in:
parent
d483aee0d9
commit
006d9e3c66
@ -1,11 +1,13 @@
|
|||||||
# Copyright (c) 2021-2025 community-scripts ORG
|
# Copyright (c) 2021-2025 community-scripts ORG
|
||||||
# License: MIT | https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/LICENSE
|
# License: MIT | https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/LICENSE
|
||||||
|
|
||||||
set -euo pipefail
|
if ! declare -f wait_for >/dev/null; then
|
||||||
SPINNER_PID=""
|
echo "[DEBUG] Undefined function 'wait_for' used from: ${BASH_SOURCE[*]}" >&2
|
||||||
SPINNER_ACTIVE=0
|
wait_for() {
|
||||||
SPINNER_MSG=""
|
echo "[DEBUG] Fallback: wait_for called with: $*" >&2
|
||||||
declare -A MSG_INFO_SHOWN
|
true
|
||||||
|
}
|
||||||
|
fi
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# Loads core utility groups once (colors, formatting, icons, defaults).
|
# Loads core utility groups once (colors, formatting, icons, defaults).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user