drive: fix misplaced log in dedupe MergeDirs
This commit is contained in:
parent
d97fe3b824
commit
ef412c1985
1 changed files with 1 additions and 1 deletions
|
@ -885,9 +885,9 @@ func (f *Fs) MergeDirs(dirs []fs.Directory) error {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// rmdir (into trash) the now empty source directory
|
// rmdir (into trash) the now empty source directory
|
||||||
|
fs.Infof(srcDir, "removing empty directory")
|
||||||
err = f.rmdir(srcDir.ID(), true)
|
err = f.rmdir(srcDir.ID(), true)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fs.Infof(srcDir, "removing empty directory")
|
|
||||||
return errors.Wrapf(err, "MergDirs move failed to rmdir %q", srcDir)
|
return errors.Wrapf(err, "MergDirs move failed to rmdir %q", srcDir)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue