From 006d9e3c66a587c02d83a177ddbf07be63548340 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Thu, 15 May 2025 10:44:58 +0200 Subject: [PATCH] Update core.func --- misc/core.func | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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).