diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-08-09 08:09:15 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-08-09 10:18:28 +0200 |
commit | 166a394a2fef6f2990e264cc8dfb722af2cc6a67 (patch) | |
tree | aee96bc2e8a9fe588d9eab40ce5a2a27511a4ba2 /commands | |
parent | 824395204680496d528684587a1f2977394aff3d (diff) |
Fix static sync issue with virtual mounts
Fixes #6165
Diffstat (limited to 'commands')
-rw-r--r-- | commands/static_syncer.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/static_syncer.go b/commands/static_syncer.go index 6103fe71c..ab7cc4fe2 100644 --- a/commands/static_syncer.go +++ b/commands/static_syncer.go @@ -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 |