diff --git a/src/Mount/Mount.c b/src/Mount/Mount.c index 2a4f8030..310217a2 100644 --- a/src/Mount/Mount.c +++ b/src/Mount/Mount.c @@ -6075,7 +6075,7 @@ BOOL CALLBACK MainDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa defaultKeyFilesParam.FirstKeyFile = KeyFileCloneAll (FirstCmdKeyFile); } - if (!MountFavoriteVolumes (FALSE, LogOn)) + if (!MountFavoriteVolumes (hwndDlg, FALSE, LogOn)) exitCode = 1; }