From d4dd446ba306db15089d04b25437b4bbef7bf081 Mon Sep 17 00:00:00 2001 From: Samuel Boucher Date: Sun, 9 Aug 2020 17:08:44 -0400 Subject: [PATCH] Update advanced/Scripts/chronometer.sh Co-authored-by: Dan Schaper Signed-off-by: Samuel Boucher --- advanced/Scripts/chronometer.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/advanced/Scripts/chronometer.sh b/advanced/Scripts/chronometer.sh index 77fc3bb4..37fd5177 100755 --- a/advanced/Scripts/chronometer.sh +++ b/advanced/Scripts/chronometer.sh @@ -236,8 +236,7 @@ get_sys_stats() { sys_name=$(hostname) - [[ -n "$TEMPERATUREUNIT" ]] && temp_unit="$TEMPERATUREUNIT" || temp_unit="c" - temp_unit="${temp_unit^^}" + [[ -n "$TEMPERATUREUNIT" ]] && temp_unit="${TEMPERATUREUNIT^^}" || temp_unit="C" # Get storage stats for partition mounted on / read -r -a disk_raw <<< "$(df -B1 / 2> /dev/null | awk 'END{ print $3,$2,$5 }')"