mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-09-14 08:30:43 +02:00
e0df8a80bf
read -t returns >128 on a real timeout, but a lower/plain error code on a genuine read failure (e.g. broken/closed stdin, I/O error) - these were treated identically as "no response", so a user whose keystroke failed to be captured (e.g. a transient stdin I/O error) got their container silently destroyed instead of kept. Only auto-remove on an actual timeout; on a hard read failure, keep the container (reversible) and tell the user how to remove it manually.