1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 11:08:02 -06:00

Linux/macOS/FreeBSD: return error if unknown filesystem value specified in --filesystem switch

This commit is contained in:
Mounir IDRASSI
2021-11-21 18:40:50 +01:00
parent 491fed3494
commit 43cf5d7b53

View File

@@ -339,7 +339,7 @@ namespace VeraCrypt
ArgFilesystem = VolumeCreationOptions::FilesystemType::UFS; ArgFilesystem = VolumeCreationOptions::FilesystemType::UFS;
#endif #endif
else else
ArgFilesystem = VolumeCreationOptions::FilesystemType::None; throw_err (LangString["UNKNOWN_OPTION"] + L": " + str);
} }
} }