2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-22 21:05:10 +00:00

Fix log message

'inode' isn't tested, so we don't want to imply that in the debug message.
This commit is contained in:
Klaus Post 2015-08-16 14:16:40 +02:00
parent 2291e70322
commit d6935d6625

View File

@ -392,7 +392,7 @@ func (node *Node) isNewer(path string, fi os.FileInfo) bool {
if !ok { if !ok {
if node.ModTime != fi.ModTime() || if node.ModTime != fi.ModTime() ||
node.Size != size { node.Size != size {
debug.Log("node.isNewer", "node %v is newer: timestamp, size or inode changed", path) debug.Log("node.isNewer", "node %v is newer: timestamp or size changed", path)
return true return true
} }
return false return false