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
No known key found for this signature in database
GPG Key ID: 02C30AE90FAE4A6F

View File

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