Fix static sync issue with virtual mounts

Fixes #6165
This commit is contained in:
Bjørn Erik Pedersen
2019-08-09 08:09:15 +02:00
parent 8243952046
commit 166a394a2f
4 changed files with 51 additions and 1 deletions

View File

@@ -80,6 +80,7 @@ func (s *staticSyncer) syncsStaticEvents(staticEvents []fsnotify.Event) error {
fromPath := ev.Name
relPath := sourceFs.MakePathRelative(fromPath)
if relPath == "" {
// Not member of this virtual host.
continue