VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2017-07-06 23:06:07 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2017-07-06 23:06:59 (GMT)
commit4e0ced43a48872afd5c1049506b53eef69622149 (patch)
tree6ca7fcd25c4e81234e226c7bc335166111bf0568
parent1c3156a17bc60f8f26c91909dec55254d40a0d00 (diff)
downloadVeraCrypt-4e0ced43a48872afd5c1049506b53eef69622149.zip
VeraCrypt-4e0ced43a48872afd5c1049506b53eef69622149.tar.gz
Windows: in case of system favorite mounting, update list of host devices before each retry to mount disconnected favorites.
-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 76fa0e3..d388672 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