mirror of
https://github.com/rclone/rclone
synced 2024-11-12 10:50:08 +01:00
drive: fix misplaced log in dedupe MergeDirs
This commit is contained in:
parent
d97fe3b824
commit
ef412c1985
@ -885,9 +885,9 @@ func (f *Fs) MergeDirs(dirs []fs.Directory) error {
|
||||
}
|
||||
}
|
||||
// rmdir (into trash) the now empty source directory
|
||||
fs.Infof(srcDir, "removing empty directory")
|
||||
err = f.rmdir(srcDir.ID(), true)
|
||||
if err != nil {
|
||||
fs.Infof(srcDir, "removing empty directory")
|
||||
return errors.Wrapf(err, "MergDirs move failed to rmdir %q", srcDir)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user