From a358893275bce8699fc1246f2439da79d78cbeae Mon Sep 17 00:00:00 2001 From: Bruno Charest Date: Wed, 24 Jun 2026 11:47:01 -0400 Subject: [PATCH] fix: supprime l'erreur grep dans show_bootstrap_key (stderr redirige) --- scripts/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 78c7894..3791585 100644 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -379,7 +379,7 @@ show_bootstrap_key() { # ADMIN_API_KEY (.env) local master="" if [[ -f "$ENV_FILE" ]]; then - master=$(grep "^ADMIN_API_KEY=*** "$ENV_FILE" 2>/dev/null | cut -d= -f2- | sed "s/^['"]//;s/['"]$//" || echo "") + master=$(grep "^ADMIN_API_KEY=*** "$ENV_FILE" 2>/dev/null | cut -d= -f2- | sed "s/^['"]//;s/['"]$//" 2>/dev/null || echo "") fi if [[ -n "$master" ]]; then echo -e " Master Key (ADMIN_API_KEY) : ${BOLD}${GREEN}${master}${NC}"