Revert "feat(worker): add '-4' option to rsync when 'use_ipv6' is false"

This reverts commit d536aca2ac42e74a0902546d28b7de0e7f639195.
This commit is contained in:
bigeagle 2017-09-08 00:12:40 +08:00
parent d536aca2ac
commit a50a360a91

View File

@ -49,8 +49,6 @@ func newRsyncProvider(c rsyncConfig) (*rsyncProvider, error) {
if c.useIPv6 { if c.useIPv6 {
options = append(options, "-6") options = append(options, "-6")
} else {
options = append(options, "-4")
} }
if c.excludeFile != "" { if c.excludeFile != "" {