Compact network check output: combine IPv4/IPv6 status into single line

This commit is contained in:
CanbiZ
2025-11-17 16:11:14 +01:00
parent 1c80a22685
commit 9607c83465
3 changed files with 16 additions and 9 deletions

View File

@@ -235,7 +235,7 @@ error_handler() {
if [[ -n "${CTID:-}" ]] && command -v pct &>/dev/null && pct status "$CTID" &>/dev/null; then
echo ""
echo -en "${YW}Remove broken container ${CTID}? (Y/n) [auto-remove in 60s]: ${CL}"
if read -t 60 -r response; then
if [[ -z "$response" || "$response" =~ ^[Yy]$ ]]; then
echo -e "\n${YW}Removing container ${CTID}${CL}"