forked from TrueCloudLab/restic
prune: reword missing blobs error
The previous wording could be understood such that the prune run did damage the repository.
This commit is contained in:
parent
7b8886c052
commit
58b5679f14
1 changed files with 3 additions and 2 deletions
|
@ -245,8 +245,9 @@ func prune(opts PruneOptions, gopts GlobalOptions, repo restic.Repository, usedB
|
||||||
|
|
||||||
// Check if all used blobs have been found in index
|
// Check if all used blobs have been found in index
|
||||||
if len(usedBlobs) != 0 {
|
if len(usedBlobs) != 0 {
|
||||||
Warnf("%v not found in the index\n"+
|
Warnf("%v not found in the index\n\n"+
|
||||||
"Data blobs seem to be missing, aborting prune to prevent further data loss!\n"+
|
"Integrity check failed: Data seems to be missing.\n"+
|
||||||
|
"Will not start prune to prevent (additional) data loss!\n"+
|
||||||
"Please report this error (along with the output of the 'prune' run) at\n"+
|
"Please report this error (along with the output of the 'prune' run) at\n"+
|
||||||
"https://github.com/restic/restic/issues/new/choose", usedBlobs)
|
"https://github.com/restic/restic/issues/new/choose", usedBlobs)
|
||||||
return errorIndexIncomplete
|
return errorIndexIncomplete
|
||||||
|
|
Loading…
Add table
Reference in a new issue