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
1 changed files with 1 additions and 1 deletions

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
}