mirror of
https://github.com/restic/restic.git
synced 2026-10-13 13:37:12 +00:00
prune: Don't print stack trace if snapshot can't be loaded
This commit is contained in:
1 parent
173695104c
commit
c8e1ac4049
1 file changed
+1
-1
@@ -605,7 +605,7 @@ func getUsedBlobs(gopts GlobalOptions, repo restic.Repository, ignoreSnapshots r
|
||||
return nil
|
||||
})
|
||||
if err != nil {
|
||||
return nil, err
|
||||
return nil, errors.Fatalf("failed loading snapshot: %v", err)
|
||||
}
|
||||
|
||||
Verbosef("finding data that is still in use for %d snapshots\n", len(snapshotTrees))
|
||||
|
||||
Reference in new issue
Block a user