summaryrefslogtreecommitdiffstats
path: root/commands/static_syncer.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/static_syncer.go')
-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 237453868..6103fe71c 100644
--- a/commands/static_syncer.go
+++ b/commands/static_syncer.go
@@ -53,6 +53,7 @@ func (s *staticSyncer) syncsStaticEvents(staticEvents []fsnotify.Event) error {
syncer := fsync.NewSyncer()
syncer.NoTimes = c.Cfg.GetBool("noTimes")
syncer.NoChmod = c.Cfg.GetBool("noChmod")
+ syncer.ChmodFilter = chmodFilter
syncer.SrcFs = sourceFs.Fs
syncer.DestFs = c.Fs.Destination