From d5a2f8ef8d5e570be45c2e680f04ce792e653b6b Mon Sep 17 00:00:00 2001 From: tinkle-community Date: Sun, 28 Dec 2025 22:15:47 +0800 Subject: [PATCH] fix: read user input from /dev/tty when piped via curl --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 0dac74c4..70c73117 100644 --- a/install.sh +++ b/install.sh @@ -148,7 +148,7 @@ ask_clear_trading_data() { echo "" echo -e "${BLUE}Type 'yes' to clear tables, press Enter or any other input to skip${NC}" echo -n "Input: " - read -r confirm + read -r confirm < /dev/tty if [ "$confirm" == "yes" ]; then CLEAR_TRADING_DATA="yes"