diff --git a/backend/s3/s3.go b/backend/s3/s3.go index 40e5cb43d..9bd4dbcb7 100644 --- a/backend/s3/s3.go +++ b/backend/s3/s3.go @@ -1738,7 +1738,7 @@ func (f *Fs) makeBucket(ctx context.Context, bucket string) error { err = nil } } - return nil + return err }, func() (bool, error) { return f.bucketExists(ctx, bucket) })