mirror of
https://github.com/restic/restic.git
synced 2025-08-12 11:27:46 +00:00
Improve error message for newer files
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user