1
0
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:
Zdenek Kabelac 2017-06-29 18:54:26 +02:00
parent ef4506069a
commit afa0bd916e

View File

@ -48,7 +48,7 @@ function getvgname {
NAME="${BNAME}"
I=0
while [[ "${VGLIST}" =~ ":${NAME}:" ]]
while [[ "${VGLIST}" =~ :${NAME}: ]]
do
I=$(( I + 1 ))
NAME="${BNAME}$I"