Browse Source

fix build

z4yx 5 năm trước cách đây
mục cha
commit
80ad3247a0
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      worker/rsync_provider.go

+ 2 - 2
worker/rsync_provider.go

@@ -57,8 +57,8 @@ func newRsyncProvider(c rsyncConfig) (*rsyncProvider, error) {
 		"--delete", "--delete-after", "--delay-updates",
 		"--safe-links", "--timeout=120", "--contimeout=120",
 	}
-	if overriddenOptions != nil {
-		options = overriddenOptions
+	if c.overriddenOptions != nil {
+		options = c.overriddenOptions
 	}
 
 	if c.useIPv6 {