summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-rw-r--r--commands/static_syncer.go1
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