mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
tests: aux.sh fix pattern
Commit 72a58ce4b0
fixed 'translation' of
pattern by bash by using "" - so we need to drop '\' here to get
wanted behavior.
This commit is contained in:
parent
2ceb5a0abb
commit
006a9eaada
@ -1542,7 +1542,7 @@ wait_pvmove_lv_ready() {
|
|||||||
while : ; do
|
while : ; do
|
||||||
test "$retries" -le 0 && die "Waiting for lvmpolld timed out"
|
test "$retries" -le 0 && die "Waiting for lvmpolld timed out"
|
||||||
test -n "$lvid" || {
|
test -n "$lvid" || {
|
||||||
lvid=$(get lv_field "${1//-/\/}" vg_uuid,lv_uuid -a 2>/dev/null)
|
lvid=$(get lv_field "${1//-//}" vg_uuid,lv_uuid -a 2>/dev/null)
|
||||||
lvid=${lvid//\ /}
|
lvid=${lvid//\ /}
|
||||||
lvid=${lvid//-/}
|
lvid=${lvid//-/}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user