Change case y|Y to [yY]
This commit is contained in:
parent
2f3fb9b5b6
commit
fd56c8882d
@ -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"
|
||||||
;;
|
;;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user