forked from TrueCloudLab/restic
backup: Remove errored files from status display
This commit is contained in:
parent
e42b7db008
commit
157c854d04
1 changed files with 5 additions and 0 deletions
|
@ -262,6 +262,11 @@ func (b *Backup) CompleteItemFn(item string, previous, current *restic.Node, s a
|
||||||
b.summary.Unlock()
|
b.summary.Unlock()
|
||||||
|
|
||||||
if current == nil {
|
if current == nil {
|
||||||
|
// error occurred, tell the status display to remove the line
|
||||||
|
b.workerCh <- fileWorkerMessage{
|
||||||
|
filename: item,
|
||||||
|
done: true,
|
||||||
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue