From 85e0968c008db2308e304912a49fb81fc75fd3e1 Mon Sep 17 00:00:00 2001 From: eremem <56274896+eremem@users.noreply.github.com> Date: Sun, 23 Jun 2024 11:33:10 +0200 Subject: [PATCH] Replace affected `read` invocations (#61) --- 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]|"")