Declare response variable for temperature unit as local
This commit is contained in:
parent
77a6df7092
commit
c50137f8f0
@ -127,7 +127,7 @@ function configure {
|
|||||||
if (echo "$sensorsOutput" | grep -q "coretemp-"); then
|
if (echo "$sensorsOutput" | grep -q "coretemp-"); then
|
||||||
# Intel CPU
|
# Intel CPU
|
||||||
# Prompt user for which temperature to use
|
# Prompt user for which temperature to use
|
||||||
choice=$(ask "Do you wish to display temperatures for all cores [C] or just an average temperature per CPU [a]? (C/a)")
|
local choice=$(ask "Do you wish to display temperatures for all cores [C] or just an average temperature per CPU [a]? (C/a)")
|
||||||
case "$choice" in
|
case "$choice" in
|
||||||
# Set temperature search criteria
|
# Set temperature search criteria
|
||||||
[cC] | "")
|
[cC] | "")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user