Skip to content

Commit b4261c6

Browse files
committed
Fix error in ignore-missing
1 parent 4a7c7a0 commit b4261c6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/HashCheck.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ HashChecker::CheckListFile(PCWSTR listFileName, FILE* listFile)
234234
if (auto const localHr = m_fileHasher.HashFile(m_path.c_str(), m_options.unbuffered, m_options.pHasher);
235235
FAILED(localHr))
236236
{
237-
if (m_options.ignoreMissing && localHr != HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND))
237+
if (m_options.ignoreMissing && localHr == HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND))
238238
{
239239
fileCount -= 1;
240240
continue;

0 commit comments

Comments
 (0)