Skip to content

Commit 10aea09

Browse files
committed
Fixes #1298 - Fixes du cmd error when no bucket in the account
1 parent d78392e commit 10aea09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

s3cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def subcmd_bucket_usage_all(s3):
123123
total_size_str = str(total_size) + size_coeff
124124
output(u"".rjust(12, "-"))
125125
output(u"%s Total" % (total_size_str.ljust(12)))
126-
return size
126+
return buckets_size
127127

128128
def subcmd_bucket_usage(s3, uri):
129129
"""

0 commit comments

Comments
 (0)