Change case y|Y to [yY]

This commit is contained in:
rmm 2024-06-16 13:14:16 +02:00
parent 2f3fb9b5b6
commit fd56c8882d

View File

@ -804,7 +804,7 @@ function save_sensors_data {
# Prompt user for confirmation # Prompt user for confirmation
read -p "Do you wish to continue? (y/n): " choice read -p "Do you wish to continue? (y/n): " choice
case "$choice" in case "$choice" in
y | Y) [yY])
sensors -j >"$filepath" sensors -j >"$filepath"
msgb "Sensors data saved in $filepath" msgb "Sensors data saved in $filepath"
;; ;;