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:
parent
38df48d108
commit
75420282e1
@ -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"
|
||||
|
||||
#####################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user