diff --git a/src/Main/TextUserInterface.cpp b/src/Main/TextUserInterface.cpp index 2ec086a3..8c5328cc 100644 --- a/src/Main/TextUserInterface.cpp +++ b/src/Main/TextUserInterface.cpp @@ -1004,6 +1004,10 @@ namespace VeraCrypt throw ParameterIncorrect (SRC_POS); MountOptions mountOptions (GetPreferences().DefaultMountOptions); +#ifdef TC_LINUX + if (CmdLine->ArgMountOptions.NoKernelCrypto) + mountOptions.NoKernelCrypto = true; +#endif mountOptions.Path = make_shared (options->Path); mountOptions.NoFilesystem = true; mountOptions.Protection = VolumeProtection::None;