There should be only One

This commit is contained in:
Jakob Borg
2014-05-23 12:55:24 +02:00
parent b60d648e22
commit bcdc3ecdae
3 changed files with 4 additions and 16 deletions

View File

@@ -245,7 +245,7 @@ func (p *puller) fixupDirectories() {
return nil
}
if !permsEqual(cur.Flags, uint32(info.Mode())) {
if !scanner.PermsEqual(cur.Flags, uint32(info.Mode())) {
err := os.Chmod(path, os.FileMode(cur.Flags)&os.ModePerm)
if err != nil {
l.Warnln("Restoring folder flags: %q: %v", path, err)