update choice naming

This commit is contained in:
Meliox 2024-06-16 16:29:59 +02:00
parent 3321399a3a
commit 0eea4aff44

View File

@ -211,8 +211,8 @@ function configure {
enableFanSpeed=true
sensorsDetected=true
# Prompt user for display zero speed fans
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
local choiceDisplayZeroSpeedFans=$(read -p "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]|"")
displayZeroSpeedFans=true