Windows: Fix false warning in case of GPT about Windows not installed on boot drive. This is caused by the fact that presence of "bootmgr" file is not mandatory in case of EFI Boot Loader.

This commit is contained in:
Mounir IDRASSI 2017-06-09 01:16:51 +02:00
parent 5c009d449e
commit 3764f7e8b9
No known key found for this signature in database
GPG Key ID: DD0C382D5FCFB8FC

View File

@ -4090,7 +4090,7 @@ namespace VeraCrypt
}
}
if (!config.SystemLoaderPresent || !activePartitionFound)
if ((!config.SystemLoaderPresent && !config.SystemPartition.IsGPT) || !activePartitionFound)
{
static bool confirmed = false;