Rephrase error message for invalid --type param in convert.

This commit is contained in:
Ondrej Kozina
2018-07-17 10:53:13 +02:00
parent 6244b4d00f
commit b60e856087

View File

@@ -1851,7 +1851,7 @@ static int action_luksConvert(void)
} else if (!strcmp(opt_type, "luks1")) { } else if (!strcmp(opt_type, "luks1")) {
to_type = CRYPT_LUKS1; to_type = CRYPT_LUKS1;
} else { } else {
log_err(_("Missing LUKS target type, option --type is required.")); log_err(_("Invalid LUKS type, only luks1 and luks2 are supported."));
return -EINVAL; return -EINVAL;
} }