summaryrefslogtreecommitdiffstats
path: root/scripts/library/size_to_human.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/library/size_to_human.sh')
-rw-r--r--scripts/library/size_to_human.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/library/size_to_human.sh b/scripts/library/size_to_human.sh
index 9c0f0de2..1d13eeb4 100644
--- a/scripts/library/size_to_human.sh
+++ b/scripts/library/size_to_human.sh
@@ -6,6 +6,8 @@ size_to_human() {
suffix[3] = "MiB"
suffix[4] = "GiB"
suffix[5] = "TiB"
+ suffix[6] = "PiB"
+ suffix[7] = "EiB"
count = 1
while (size > 1024) {