mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
vgimportclone: fix VG name variable reference in error message after failed PV uuid change
This commit is contained in:
parent
22810155a6
commit
55056c2d16
@ -291,7 +291,7 @@ while read VGNAME VGEXPORTED VGMISSINGPVCOUNT; do
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
"$LVM" pvchange ${LVM_OPTS} ${TEST_OPT} --uuid --config 'global{activation=0}' --select "vg_name=${VGNAME}"
|
"$LVM" pvchange ${LVM_OPTS} ${TEST_OPT} --uuid --config 'global{activation=0}' --select "vg_name=${VGNAME}"
|
||||||
checkvalue $? "Unable to change all PV uuids in VG ${VG_NAME}"
|
checkvalue $? "Unable to change all PV uuids in VG ${VGNAME}"
|
||||||
|
|
||||||
NEWVGNAME=`getvgname "${OLDVGS}" "${VGNAME}" "${NEWVG}"`
|
NEWVGNAME=`getvgname "${OLDVGS}" "${VGNAME}" "${NEWVG}"`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user