forked from TrueCloudLab/restic
Improve error message for newer files
This commit is contained in:
parent
5691d89822
commit
cdf3336e7a
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ func (arch *Archiver) SaveFile(node *Node) error {
|
|||
}
|
||||
|
||||
if fi.ModTime() != node.ModTime {
|
||||
e2 := arch.Error(node.path, fi, errors.New("file changed as we read it\n"))
|
||||
e2 := arch.Error(node.path, fi, errors.New("file was updated, using new version\n"))
|
||||
|
||||
if e2 == nil {
|
||||
// create new node
|
||||
|
|
Loading…
Reference in a new issue