From af7fc88ea66b9f658c093ca8453a22e275431863 Mon Sep 17 00:00:00 2001 From: jeanotx32 Date: Mon, 18 May 2026 22:56:25 -0400 Subject: [PATCH] fix: redirect stderr to stdout in install.sh for pipe execution --- vps-monitor/agent/install.sh | 7 +++++++ 1 file changed, 7 insertions(+) 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=(