From 8820d1d1073d569665a7f1077f2568fc2c6284b8 Mon Sep 17 00:00:00 2001 From: m1ngsama Date: Thu, 9 Apr 2026 22:32:04 +0800 Subject: [PATCH] fix: use test-open for /dev/tty instead of -e check [[ -e /dev/tty ]] returns true even in non-interactive SSH sessions where the device file exists but cannot actually be opened, causing 'No such device or address' errors. Replace with { true /dev/null; then exec bash install.sh "$@" /dev/null; then read -r -p "$1 [y/N] " reply