From 75420282e17e44d5c7b56126a5c7fd170f0ef417 Mon Sep 17 00:00:00 2001 From: Peter Rajnoha Date: Mon, 12 Oct 2015 12:51:13 +0200 Subject: 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. --- scripts/vgimportclone.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" ##################################################################### -- cgit v1.2.1