mirror of
https://github.com/tuna/tunasync.git
synced 2025-12-25 22:02:46 +00:00
remove rsync delete flag from stage1
This commit is contained in:
parent
22578b18cf
commit
e70df03ff7
|
|
@ -193,7 +193,11 @@ func (p *twoStageRsyncProvider) Options(stage int) ([]string, error) {
|
|||
options = append(options, stage1Profile...)
|
||||
options = append(options, p.archOptions...)
|
||||
if p.twoStageRsyncConfig.extraOptions != nil {
|
||||
options = append(options, p.extraOptions...)
|
||||
for _, option := range p.extraOptions {
|
||||
if option != "--delete-excluded" {
|
||||
options = append(options, option)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
} else if stage == 2 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue