From 168a921f689683cc23155d9e445f4ac2de5f2c28 Mon Sep 17 00:00:00 2001 From: kisfenyo Date: Thu, 26 Feb 2026 15:11:11 +0100 Subject: [PATCH] fix(docker-setup): flush tee output before exit The exec > >(tee ...) process substitution has a race condition where the main shell exits before tee finishes printing. The print_summary output was written to the log file but never displayed on terminal. Added sleep 0.5 to let tee flush. Co-Authored-By: Claude Opus 4.6 --- scripts/docker-setup.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/docker-setup.sh b/scripts/docker-setup.sh index 24cd6b2..af7b5dd 100644 --- a/scripts/docker-setup.sh +++ b/scripts/docker-setup.sh @@ -1933,6 +1933,9 @@ main() { install_tools_and_configure print_summary + + # Allow tee (from exec > >(tee ...)) to flush remaining output to terminal + sleep 0.5 } main "$@" \ No newline at end of file