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 node.ModTime != fi.ModTime() ||
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 false