1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-31 05:47:43 +03:00

lvconvert: old one needs GET_VGNAME_FROM_OPTIONS

This commit is contained in:
David Teigland 2016-12-09 15:54:38 -06:00
parent c3ce2456b7
commit 825a0e02e4

View File

@ -3509,6 +3509,8 @@ int lvconvert(struct cmd_context * cmd, int argc, char **argv)
};
struct processing_handle *handle = init_processing_handle(cmd, NULL);
cmd->command->flags &= ~GET_VGNAME_FROM_OPTIONS;
if (!handle) {
log_error("Failed to initialize processing handle.");
return ECMD_FAILED;