mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-07-29 01:02:54 +02:00
Read prompt input directly from /dev/tty (#16126)
This commit is contained in:
committed by
GitHub
parent
ea6346e4ef
commit
8c4ed519a9
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user