From 0eea4aff44b524aeaef4592557941031bedcaae5 Mon Sep 17 00:00:00 2001 From: Meliox Date: Sun, 16 Jun 2024 16:29:59 +0200 Subject: [PATCH] update choice naming --- pve-mod-gui-sensors.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pve-mod-gui-sensors.sh b/pve-mod-gui-sensors.sh index e9cdac3..5d7f830 100644 --- a/pve-mod-gui-sensors.sh +++ b/pve-mod-gui-sensors.sh @@ -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