all: Ignore Sync errors on directories (fixes #4432)
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4449
This commit is contained in:
committed by
Jakob Borg
parent
b1ade6d0c0
commit
622b614f31
@@ -96,7 +96,7 @@ func (f *FolderConfiguration) CreateMarker() error {
|
||||
}
|
||||
if dir, err := fs.Open("."); err == nil {
|
||||
if serr := dir.Sync(); err != nil {
|
||||
l.Infof("fsync %q failed: %v", ".", serr)
|
||||
l.Debugln("fsync %q failed: %v", ".", serr)
|
||||
}
|
||||
} else {
|
||||
l.Infof("fsync %q failed: %v", ".", err)
|
||||
|
||||
Reference in New Issue
Block a user