summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/App/Hashl.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/App/Hashl.pm b/lib/App/Hashl.pm
index 3f9bfa7..58af4a6 100644
--- a/lib/App/Hashl.pm
+++ b/lib/App/Hashl.pm
@@ -51,7 +51,7 @@ sub si_size {
my ($self, $bytes) = @_;
my @post = (' ', qw(k M G T));
- while ($bytes > 1024) {
+ while ($bytes >= 1024) {
$bytes /= 1024;
shift @post;
}