Improve restore

This commit is contained in:
Jonas Plum
2022-10-23 02:07:53 +02:00
committed by Jonas Plum
parent 406d8290ab
commit 83e3a2e725
2 changed files with 4 additions and 2 deletions

View File

@@ -83,7 +83,8 @@ func restoreS3(catalystStorage *storage.Storage, p string) error {
entries, err := fs.ReadDir(minioDir, ".")
if err != nil {
return err
// directory might not exist
return nil
}
for _, entry := range entries {