diff options
author | David Teigland <teigland@redhat.com> | 2016-12-09 15:54:38 -0600 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2016-12-09 15:54:38 -0600 |
commit | 825a0e02e4cd26d9cf4cc0e3926f8ff37d63236b (patch) | |
tree | bb485cb5f983af8a35765556cd96e2611ff94802 | |
parent | c3ce2456b722049ed7e84174058fd7ccccbb8ad7 (diff) | |
download | lvm2-825a0e02e4cd26d9cf4cc0e3926f8ff37d63236b.tar.gz |
lvconvert: old one needs GET_VGNAME_FROM_OPTIONS
-rw-r--r-- | tools/lvconvert.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/lvconvert.c b/tools/lvconvert.c index 94d25294f..d9d891644 100644 --- a/tools/lvconvert.c +++ b/tools/lvconvert.c @@ -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; |