mirror of
https://github.com/restic/restic.git
synced 2026-10-22 00:48:12 +00:00
Improve command shutdown on context cancellation
This commit is contained in:
1 parent
910927670f
commit
31624aeffd
17 files changed
+80
-6
No files matched your search
@@ -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