check: enhance check command to create cache directory if it doesn't exist

This commit is contained in:
Shivashis Padhi committed 2024-05-25 19:15:42 +05:30
1 parent 7ea508e7b8
commit 0271bb97f8
3 files changed
+80

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
Enhancement: `check` command creates cache directory if it does not exist
If a custom cache directory was specified for the `check` command but the directory did not exist,
then `check` continued with cache disabled.
The `check` command now attempts to create the cache directory before initializing the cache.
https://github.com/restic/restic/issues/4437
https://github.com/restic/restic/pull/4805