From 0180f814207eb1bc4f1f6144555c99a6a9a84b36 Mon Sep 17 00:00:00 2001 From: Zakary Timson Date: Sat, 12 Sep 2026 19:40:23 -0400 Subject: [PATCH] Update install.sh --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 8a873a9..36b0b2c 100644 --- a/install.sh +++ b/install.sh @@ -14,7 +14,7 @@ fi prompt() { local __var="$1" __question="$2" __default="$3" __answer="" if [ -e /dev/tty ]; then - read -r -p "$__question [$__default]: " __answer 2>/dev/null < /dev/tty > /dev/tty || __answer="" + read -r -p "$__question [$__default]: " __answer < /dev/tty || __answer="" fi printf -v "$__var" '%s' "${__answer:-$__default}" }