VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2017-06-09 01:16:51 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2017-06-09 01:18:02 +0200
commit3764f7e8b9a931ab212b0cda728de40d379ae53f (patch)
tree4e74b213fb2cf22747d24a84bd8c07a5cb794415
parent5c009d449e19f38e22a940ea517fde617761f037 (diff)
downloadVeraCrypt-3764f7e8b9a931ab212b0cda728de40d379ae53f.tar.gz
VeraCrypt-3764f7e8b9a931ab212b0cda728de40d379ae53f.zip
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.
-rw-r--r--src/Common/BootEncryption.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/BootEncryption.cpp b/src/Common/BootEncryption.cpp
index a8481f3b..79f62a16 100644
--- a/src/Common/BootEncryption.cpp
+++ b/src/Common/BootEncryption.cpp
@@ -4090,7 +4090,7 @@ namespace VeraCrypt
}
}
- if (!config.SystemLoaderPresent || !activePartitionFound)
+ if ((!config.SystemLoaderPresent && !config.SystemPartition.IsGPT) || !activePartitionFound)
{
static bool confirmed = false;