mirror of
https://github.com/restic/restic.git
synced 2025-12-12 06:32:06 +00:00
Improve command shutdown on context cancellation
This commit is contained in:
@@ -72,7 +72,7 @@ func repack(ctx context.Context, repo restic.Repository, dstRepo restic.Reposito
|
||||
return wgCtx.Err()
|
||||
}
|
||||
}
|
||||
return nil
|
||||
return wgCtx.Err()
|
||||
})
|
||||
|
||||
worker := func() error {
|
||||
|
||||
Reference in New Issue
Block a user