1
mirror of https://github.com/rclone/rclone synced 2024-12-23 14:23:44 +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:
Nick Craig-Wood 2016-02-15 16:43:59 +00:00
parent b1dd8e998b
commit a6320bbad3

View File

@ -906,6 +906,7 @@ func Delete(f Fs) error {
delete <- o
})
close(delete)
wg.Wait()
return err
}