From 5501ba6fe70af0937b46db357bddef6535ceda28 Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Tue, 10 Mar 2026 18:31:34 -0400 Subject: [PATCH] Fix install.sh prompt not showing when piped via stdin Check for /dev/tty instead of stdin being a terminal, so the Y/n prompt works with `cat install.sh | bash`. Co-Authored-By: Claude Opus 4.6 (1M context) --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index b3cbb7e98..47610b317 100755 --- a/install.sh +++ b/install.sh @@ -144,7 +144,7 @@ fi echo "" >&2 # --- Prompt to run setup wizard --- -if [ -t 0 ] && [ -t 2 ]; then +if [ -t 2 ] && [ -e /dev/tty ]; then printf " ${BOLD}Run ${BOLD_CYAN}arc install${RESET}${BOLD} now to complete setup? [Y/n]${RESET} " >&2 read -r answer