diff --git a/borg_exporter.sh b/borg_exporter.sh index 4b399a5..6ba044e 100755 --- a/borg_exporter.sh +++ b/borg_exporter.sh @@ -47,6 +47,9 @@ function calc_bytes { TB) echo $NUM | awk '{ print $1 * 1024 * 1024 * 1024 * 1024 }' ;; + B) + echo $NUM | awk '{ print $1 }' + ;; esac }