diff --git a/vps-monitor/agent/install.sh b/vps-monitor/agent/install.sh index 408c5cd..e19bf14 100755 --- a/vps-monitor/agent/install.sh +++ b/vps-monitor/agent/install.sh @@ -10,6 +10,13 @@ # ============================================================================= set -euo pipefail +# Redirige stderr vers stdout pour que les erreurs soient visibles en mode pipe +exec 2>&1 + +echo "==================================================" +echo " VPS Monitor Agent — démarrage du script" +echo "==================================================" + # ─── Constantes ─────────────────────────────────────────────────────────────── REPO_BASE="https://git.jeanbonapp.com/jeanbon/ScriptVPS/raw/branch" REPO_FILES=(