mirror of
https://github.com/restic/restic.git
synced 2026-10-12 04:57:12 +00:00
check: Fix crash of --read-data-subset=x% on empty repository
Rounding up to at least one pack file should only be done if at least a pack file exists.
This commit is contained in:
1 parent
4baebdc6f5
commit
9e852af5be
3 files changed
+15
-1
No files matched your search
@@ -0,0 +1,7 @@
|
||||
Bugfix: Fix crash of `check --read-data-subset=x%` run for an empty repository
|
||||
|
||||
`check --read-data-subset=x%` crashed when run for an empty repository. This
|
||||
has been fixed.
|
||||
|
||||
https://github.com/restic/restic/issues/3296
|
||||
https://github.com/restic/restic/pull/3309
|
||||
Reference in new issue
Block a user