Update core.func

This commit is contained in:
CanbiZ 2025-05-15 10:44:58 +02:00
parent d483aee0d9
commit 006d9e3c66

View File

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