fix: install script not working when piped through bash (addresses #324)

The read command needs to explicitly read from /dev/tty when the script
is piped through bash (curl ... | bash) otherwise it can't read user input
This commit is contained in:
Pulse Monitor
2025-08-17 10:48:19 +00:00
parent 0ab3aa5286
commit 22bcab894e
+1 -1
View File
@@ -324,7 +324,7 @@ main() {
echo "2) Reinstall"
echo "3) Remove"
echo "4) Cancel"
read -p "Select option [1-4]: " choice
read -p "Select option [1-4]: " choice < /dev/tty
case $choice in
1)