VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Mount
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2017-07-07 01:06:07 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2017-07-07 01:06:59 +0200
commit4e0ced43a48872afd5c1049506b53eef69622149 (patch)
tree6ca7fcd25c4e81234e226c7bc335166111bf0568 /src/Mount
parent1c3156a17bc60f8f26c91909dec55254d40a0d00 (diff)
downloadVeraCrypt-4e0ced43a48872afd5c1049506b53eef69622149.tar.gz
VeraCrypt-4e0ced43a48872afd5c1049506b53eef69622149.zip
Windows: in case of system favorite mounting, update list of host devices before each retry to mount disconnected favorites.
Diffstat (limited to 'src/Mount')
-rw-r--r--src/Mount/Mount.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Mount/Mount.c b/src/Mount/Mount.c
index 76fa0e3c..d3886726 100644
--- a/src/Mount/Mount.c
+++ b/src/Mount/Mount.c
@@ -9679,6 +9679,9 @@ BOOL MountFavoriteVolumes (HWND hwnd, BOOL systemFavorites, BOOL logOnMount, BOO
{
Sleep (5000);
+ SystemFavoritesServiceLogInfo (wstring (L"Updating list of host devices"));
+ UpdateMountableHostDeviceList ();
+
SystemFavoritesServiceLogInfo (wstring (L"Trying to mount skipped system favorites"));
// Update the service status to avoid being killed