1
0
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:
Peter Rajnoha 2016-01-21 14:47:48 +01:00
parent 22810155a6
commit 55056c2d16

View File

@ -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}"`