mirror of
https://github.com/restic/restic.git
synced 2025-08-19 14:07:35 +00:00
Fix usage of the done
chan
This commit is contained in:
@@ -203,7 +203,7 @@ func (be *S3Backend) removeKeys(t backend.Type) {
|
||||
for key := range be.List(backend.Data, doneChan) {
|
||||
be.Remove(backend.Data, key)
|
||||
}
|
||||
doneChan <- struct{}{}
|
||||
close(doneChan)
|
||||
}
|
||||
|
||||
// Delete removes all restic keys
|
||||
|
Reference in New Issue
Block a user