Don't check ctime when ignoring inode.

This commit is contained in:
Courtney Bane 2019-04-23 22:27:38 -05:00
parent b8c2544dcb
commit 35b7607802

View file

@ -455,7 +455,7 @@ func fileChanged(fi os.FileInfo, node *restic.Node, ignoreInode bool) bool {
// check status change timestamp
extFI := fs.ExtendedStat(fi)
if !extFI.ChangeTime.Equal(node.ChangeTime) {
if !ignoreInode && !extFI.ChangeTime.Equal(node.ChangeTime) {
return true
}