diff --git a/pve-mod-gui-sensors.sh b/pve-mod-gui-sensors.sh index 38437c8..ac0ac9e 100644 --- a/pve-mod-gui-sensors.sh +++ b/pve-mod-gui-sensors.sh @@ -219,7 +219,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)" choiceDisplayZeroSpeedFans + local choiceDisplayZeroSpeedFans=$(ask "Do you wish to display fans reporting a speed of zero? If no, only active fans will be displayed. (Y/n)") case "$choiceDisplayZeroSpeedFans" in # Set temperature search criteria [yY]|"")