Upercase the temp_unit
Signed-off-by: Samuel Boucher <scboucher@users.noreply.github.com>
This commit is contained in:
parent
4bef49e2eb
commit
8b4921405a
|
@ -237,6 +237,7 @@ get_sys_stats() {
|
|||
sys_name=$(hostname)
|
||||
|
||||
[[ -n "$TEMPERATUREUNIT" ]] && temp_unit="$TEMPERATUREUNIT" || temp_unit="c"
|
||||
temp_unit="${temp_unit^^}"
|
||||
|
||||
# Get storage stats for partition mounted on /
|
||||
read -r -a disk_raw <<< "$(df -B1 / 2> /dev/null | awk 'END{ print $3,$2,$5 }')"
|
||||
|
|
Loading…
Reference in New Issue