mirror of
https://github.com/tuna/tunasync.git
synced 2025-04-21 04:42:46 +00:00
Revert "feat(worker): add '-4' option to rsync when 'use_ipv6' is false"
This reverts commit d536aca2ac42e74a0902546d28b7de0e7f639195.
This commit is contained in:
parent
d536aca2ac
commit
a50a360a91
@ -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 != "" {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user