Read prompt input directly from /dev/tty

Update the interactive `read` call in `misc/build.func` to read from `/dev/tty` instead of standard input. This ensures the timeout prompt still accepts user input even when stdin is redirected or consumed by another stream.
This commit is contained in:
MickLesk
2026-07-28 16:39:53 +02:00
parent 57e02eee1b
commit 2b980dce59
+1 -1
View File
@@ -5337,7 +5337,7 @@ EOF
local response=""
local read_rc
read -t 60 -r response
read -t 60 -r response </dev/tty
read_rc=$?
if [[ $read_rc -eq 0 ]]; then
case "${response:-1}" in