Improve error message for newer files

This commit is contained in:
Alexander Neumann 2015-01-08 20:49:32 +01:00
parent 5691d89822
commit cdf3336e7a
1 changed files with 1 additions and 1 deletions

View File

@ -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