1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

vgimportclone: make sure there's no prefix in VG name list

Make sure log/prefix is set to "" when getting the list of VG names.
We need this for the format to be correct so it's properly searched
through later on.
This commit is contained in:
Peter Rajnoha 2015-10-12 12:51:13 +02:00
parent 38df48d108
commit 75420282e1

View File

@ -220,7 +220,7 @@ fi
### :vgname1:vgname2:...:vgnameN:
#####################################################################
OLDVGS=":`"${LVM}" vgs ${LVM_OPTS} -o name --noheadings --rows --separator :`:"
OLDVGS=":`"${LVM}" vgs ${LVM_OPTS} -o name --noheadings --rows --separator : --config 'log{prefix=""}'`:"
checkvalue $? "Current VG names could not be collected without errors"
#####################################################################