mirror of
https://github.com/rclone/rclone
synced 2025-01-10 13:06:26 +01:00
Fix delete command to wait until all finished - fixes missing deletes.
This also could affect deletes at the end of the sync command.
This commit is contained in:
parent
b1dd8e998b
commit
a6320bbad3
@ -906,6 +906,7 @@ func Delete(f Fs) error {
|
|||||||
delete <- o
|
delete <- o
|
||||||
})
|
})
|
||||||
close(delete)
|
close(delete)
|
||||||
|
wg.Wait()
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user