From b24bc4246bb341417f9ad9f88ad97aee0c87c1c9 Mon Sep 17 00:00:00 2001 From: cclohmar Date: Fri, 10 Jul 2026 16:43:49 +0100 Subject: [PATCH] fix: show podman network create errors (no silent failure) --- deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy.sh b/deploy.sh index 0a6e333..50095a8 100755 --- a/deploy.sh +++ b/deploy.sh @@ -42,7 +42,7 @@ if [ "$GREENFIELD" = true ]; then # Force clean ALL old pods, containers, and networks for p in $(podman pod ls -q 2>/dev/null); do podman pod rm -f "$p" 2>/dev/null || true; done podman rm -f caddy authelia launcher 2>/dev/null || true - podman network rm "$NETWORK_NAME" 2>/dev/null || true + podman network rm "$NETWORK_NAME" 2>&1 || true if [ -d "$TARGET_DIR" ]; then chattr -R -i "$TARGET_DIR" 2>/dev/null || true @@ -96,7 +96,7 @@ if [ "$GREENFIELD" = true ]; then # Podman network + deploy stack echo "[5/5] Deploying containers on $NETWORK_NAME..." - podman network create "$NETWORK_NAME" 2>/dev/null || true + podman network create "$NETWORK_NAME" 2>&1 || true podman-compose -f "$TARGET_DIR/compose/stack.yaml" down 2>/dev/null || true podman-compose -f "$TARGET_DIR/compose/stack.yaml" up -d 2>&1 || echo "[WARN] Stack deploy had issues"