From 09216ecc78e6d6c253e7b06006d529cc6b4e8538 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Tue, 19 Sep 2023 05:24:39 +0200 Subject: [PATCH] Fix MB vs. GB --- mailsize | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mailsize b/mailsize index 37fc189..988776a 100755 --- a/mailsize +++ b/mailsize @@ -112,7 +112,7 @@ if ($arg&&load_ok()) { return "$b bytes" if !$kb; my $mb=int($kb/1000); return "$kb KB" if !$mb; - my $gb=int($kb/1000); + my $gb=int($mb/1000); return "$mb MB" if !$gb; return "$gb GB"; } -- 1.8.3.1