1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-23 08:16:36 +00:00
restic/changelog/unreleased/issue-3296
Michael Eischer 9e852af5be 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.
2021-02-27 16:05:36 +01:00

7 lines
262 B
Text

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