From 8ce5008c553fb7b3549bd7a2e39d1fca35bd36d0 Mon Sep 17 00:00:00 2001 From: Florent Viard Date: Wed, 11 Sep 2024 02:18:29 +0200 Subject: [PATCH] Fixes #1298 - Fixes du cmd error when no bucket in the account --- s3cmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/s3cmd b/s3cmd index 65472d56..192b7013 100755 --- a/s3cmd +++ b/s3cmd @@ -123,7 +123,7 @@ def subcmd_bucket_usage_all(s3): total_size_str = str(total_size) + size_coeff output(u"".rjust(12, "-")) output(u"%s Total" % (total_size_str.ljust(12))) - return size + return subcmd_bucket_usage_all def subcmd_bucket_usage(s3, uri): """