From 09c82a1fbfd9f6d126b9f8aea5df9ca1d3843e62 Mon Sep 17 00:00:00 2001 From: Gustavo Madeira Santana Date: Mon, 16 Feb 2026 20:23:40 -0500 Subject: [PATCH] Revert "fix: capture init script exit codes instead of swallowing via pipe" This reverts commit 8b14052ebe9d0ced947de214e2ac20ed384013c3. --- scripts/docker-entrypoint.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/docker-entrypoint.sh b/scripts/docker-entrypoint.sh index 72a8bd185a6..659134ccb5c 100755 --- a/scripts/docker-entrypoint.sh +++ b/scripts/docker-entrypoint.sh @@ -18,8 +18,7 @@ if [ -d "$INIT_DIR" ] && [ "$(ls -A "$INIT_DIR" 2>/dev/null)" ]; then [ -f "$script" ] || continue if [ -x "$script" ]; then echo "[openclaw-init] Running $(basename "$script")..." - output=$("$script" 2>&1) || echo "[openclaw-init] WARNING: $(basename "$script") exited with status $?" - [ -n "$output" ] && printf '%s\n' "$output" | sed 's/^/ /' + "$script" 2>&1 | sed "s/^/ /" else echo "[openclaw-init] Skipping $(basename "$script") (not executable)" fi