backup: Remove errored files from status display

This commit is contained in:
Alexander Neumann 2018-05-07 23:47:16 +02:00
parent e42b7db008
commit 157c854d04
1 changed files with 5 additions and 0 deletions

View File

@ -262,6 +262,11 @@ func (b *Backup) CompleteItemFn(item string, previous, current *restic.Node, s a
b.summary.Unlock()
if current == nil {
// error occurred, tell the status display to remove the line
b.workerCh <- fileWorkerMessage{
filename: item,
done: true,
}
return
}