mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
fix a _get_vgs return
This commit is contained in:
parent
9e6c1edc88
commit
70955d40a1
@ -1899,7 +1899,7 @@ static int _get_pvs(struct cmd_context *cmd, struct list **pvslist)
|
||||
if (pvslist) {
|
||||
if (!(results = dm_pool_alloc(cmd->mem, sizeof(*results)))) {
|
||||
log_error("PV list allocation failed");
|
||||
return NULL;
|
||||
return 0;
|
||||
}
|
||||
|
||||
list_init(results);
|
||||
|
Loading…
Reference in New Issue
Block a user