minor fix

This commit is contained in:
GoldenSpring 2025-12-22 03:25:09 +03:00
parent 42c76d5288
commit 51cd952fd0
No known key found for this signature in database
GPG Key ID: 75701174BCB6A808
2 changed files with 3 additions and 1 deletions

View File

@ -3200,6 +3200,8 @@ EOF'
trap - ERR # Remove ERR trap completely
lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/install/${var_install}.sh)"
local lxc_exit=$?
set -Eeuo pipefail # Re-enable error handling
trap 'error_handler' ERR # Restore ERR trap

View File

@ -173,7 +173,7 @@ _bootstrap() {
fi
# Source core functions
source <(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main//misc/core.func)
source <(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/misc/core.func)
source <(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/misc/error_handler.func)
load_functions
catch_errors