diff --git a/misc/core.func b/misc/core.func index ac7477a..6362231 100644 --- a/misc/core.func +++ b/misc/core.func @@ -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).