summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2015-10-12 12:51:13 +0200
committerPeter Rajnoha <prajnoha@redhat.com>2015-10-12 12:54:59 +0200
commit75420282e17e44d5c7b56126a5c7fd170f0ef417 (patch)
tree00f14399f6addffdabfd6dce48de591760aad013
parent38df48d108e3b040501edfd9e0517bfcb31373de (diff)
downloadlvm2-75420282e17e44d5c7b56126a5c7fd170f0ef417.tar.gz
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.
-rwxr-xr-xscripts/vgimportclone.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vgimportclone.sh b/scripts/vgimportclone.sh
index 52f3884dc..0ac987ad0 100755
--- a/scripts/vgimportclone.sh
+++ b/scripts/vgimportclone.sh
@@ -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"
#####################################################################