2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-30 08:44:02 +00:00

prune: Correct error message

This commit is contained in:
Alexander Weiss 2020-11-30 13:53:12 +01:00
parent f6df94a50e
commit f0113139ea

View File

@ -245,7 +245,7 @@ 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 new index\n"+ Warnf("%v not found in the index\n"+
"Data blobs seem to be missing, aborting prune to prevent further data loss!\n"+ "Data blobs seem to be missing, aborting prune to prevent further 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)