Upercase the temp_unit

Signed-off-by: Samuel Boucher <scboucher@users.noreply.github.com>
This commit is contained in:
Samuel Boucher 2020-08-09 13:21:58 -04:00
parent 4bef49e2eb
commit 8b4921405a
1 changed files with 1 additions and 0 deletions

View File

@ -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 }')"