mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-23 03:33:53 +00:00
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:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user