Skip to content

Commit a45e96b

Browse files
committed
fix the if check for invalid virtual LNK files
should ensure we fix the DB metadata of LNK windows shortcuts with virtual files type Signed-off-by: Matthieu Gallien <[email protected]>
1 parent 76075b6 commit a45e96b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsync/discovery.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1679,7 +1679,7 @@ void ProcessDirectoryJob::processFileFinalize(
16791679
item->_type = CSyncEnums::ItemTypeVirtualFileDehydration;
16801680
}
16811681

1682-
if (item->_instruction != CSyncEnums::CSYNC_INSTRUCTION_NONE &&
1682+
if (item->_instruction == CSyncEnums::CSYNC_INSTRUCTION_NONE &&
16831683
!item->isDirectory() &&
16841684
_discoveryData->_syncOptions._vfs &&
16851685
_discoveryData->_syncOptions._vfs->mode() == OCC::Vfs::Off &&

0 commit comments

Comments
 (0)