VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Mount/Mount.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Mount/Mount.c b/src/Mount/Mount.c
index 33dd587..467f496 100644
--- a/src/Mount/Mount.c
+++ b/src/Mount/Mount.c
@@ -9135,6 +9135,10 @@ void ExtractCommandLine (HWND hwndDlg, wchar_t *lpszCommandLine)
// get the label
StringCbCopyW (mountOptions.Label, sizeof (mountOptions.Label), &szTmp[6]);
}
+ else if (!_wcsicmp (szTmp, L"noattach"))
+ {
+ mountOptions.DisableMountManager = TRUE;
+ }
else
AbortProcess ("COMMAND_LINE_ERROR");