mirror of
https://github.com/restic/restic.git
synced 2024-12-22 07:43:03 +00:00
prune: Don't print stack trace if snapshot can't be loaded
This commit is contained in:
parent
173695104c
commit
c8e1ac4049
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue