mirror of https://github.com/microsoft/vcpkg.git
fix condition
This commit is contained in:
parent
62ec13ba36
commit
e181376604
|
|
@ -37,7 +37,7 @@ namespace vcpkg
|
|||
{
|
||||
const auto& realfs = Files::get_real_filesystem();
|
||||
|
||||
if (realfs.is_regular_file(file_hash.first) &&
|
||||
if (!realfs.is_regular_file(file_hash.first) ||
|
||||
Hash::get_file_hash(realfs, file_hash.first, "SHA1") != file_hash.second)
|
||||
{
|
||||
consistency = ConsistencyState::INCONSISTENT;
|
||||
|
|
|
|||
Loading…
Reference in New Issue