mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
vgimportclone.sh: do not quote regex
Don't quote rhs of =~, it'll match literally rather than as a regex.
This commit is contained in:
parent
ef4506069a
commit
afa0bd916e
@ -48,7 +48,7 @@ function getvgname {
|
||||
NAME="${BNAME}"
|
||||
I=0
|
||||
|
||||
while [[ "${VGLIST}" =~ ":${NAME}:" ]]
|
||||
while [[ "${VGLIST}" =~ :${NAME}: ]]
|
||||
do
|
||||
I=$(( I + 1 ))
|
||||
NAME="${BNAME}$I"
|
||||
|
Loading…
x
Reference in New Issue
Block a user