mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-14 20:30:04 +01:00
Rephrase error message for invalid --type param in convert.
This commit is contained in:
@@ -1851,7 +1851,7 @@ static int action_luksConvert(void)
|
||||
} else if (!strcmp(opt_type, "luks1")) {
|
||||
to_type = CRYPT_LUKS1;
|
||||
} else {
|
||||
log_err(_("Missing LUKS target type, option --type is required."));
|
||||
log_err(_("Invalid LUKS type, only luks1 and luks2 are supported."));
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user