mirror of
https://github.com/restic/restic.git
synced 2025-12-04 03:22:23 +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:
7
changelog/unreleased/issue-3296
Normal file
7
changelog/unreleased/issue-3296
Normal file
@@ -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