diff --git a/pve-mod-gui-sensors.sh b/pve-mod-gui-sensors.sh index c774ef6..e9cdac3 100644 --- a/pve-mod-gui-sensors.sh +++ b/pve-mod-gui-sensors.sh @@ -211,7 +211,7 @@ function configure { enableFanSpeed=true sensorsDetected=true # Prompt user for display zero speed fans - read -p "Do you wish to display fans reporting a speed of zero? If no, only active fans will be displayed? (Y/n): " choice + local choice=$(read -p "Do you wish to display fans reporting a speed of zero? If no, only active fans will be displayed. (Y/n)") case "$choice" in # Set temperature search criteria [yY]|"")