forked from TrueCloudLab/restic
Fix usage of the done
chan
This commit is contained in:
parent
69a9adc4c3
commit
d0ca118387
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue