From f7c4f3de873574e4416aa24569a0102039318d0a Mon Sep 17 00:00:00 2001 From: rmm Date: Sun, 23 Jun 2024 11:30:27 +0200 Subject: [PATCH] Replace affected `read` invocations --- pve-mod-gui-sensors.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]|"")