diff --git a/lib/format1/format1.c b/lib/format1/format1.c index be93d737f..eaa8407e8 100644 --- a/lib/format1/format1.c +++ b/lib/format1/format1.c @@ -110,6 +110,7 @@ static struct volume_group *_vg_read(struct format_instance *fi, if (!(vg = _build_vg(fi->cmd->mem, &pvs))) stack; + vg->cmd = fi->cmd; pool_destroy(mem); return vg;