From f88300a153a63a08abd026f20dc93da3b76cafc9 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Wed, 28 Jun 2017 19:53:07 +0100 Subject: [PATCH] Don't Mkdir at the start of sync - fixes #1131 This is possible now that the bucket based remotes will create the buckets on demand (9c1e703777e6ad5bb0dbe4e9c0d9d7483597e852). --- fs/sync.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/fs/sync.go b/fs/sync.go index 6ad784138..95c972cc9 100644 --- a/fs/sync.go +++ b/fs/sync.go @@ -655,12 +655,6 @@ func (s *syncCopyMove) run() error { return nil } - // Make the destination directory - err := Mkdir(s.fdst, s.dir) - if err != nil { - return err - } - // Start background checking and transferring pipeline s.startCheckers() s.startRenamers()