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:
parent
2291e70322
commit
d6935d6625
2
node.go
2
node.go
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user