mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
Do not echo y to lvconvert
This lvconvert is now able to complete operation automatically without question. So remove 'echo y |' - it's breaking pipe on some bash versions. i.e.: + echo y ./t-lvconvert-mirror-basic.sh: line 104: echo: write error: Broken pipe while command has completed this operation succesfully
This commit is contained in:
parent
faa6ac9439
commit
d75045cfb3
@ -101,7 +101,7 @@ test_lvconvert()
|
|||||||
alloc="--alloc anywhere"
|
alloc="--alloc anywhere"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo y | lvconvert -m $finish_count --mirrorlog $finish_log_type \
|
lvconvert -m $finish_count --mirrorlog $finish_log_type \
|
||||||
$vg/$lv1 $alloc
|
$vg/$lv1 $alloc
|
||||||
|
|
||||||
if ! $active; then
|
if ! $active; then
|
||||||
|
Loading…
Reference in New Issue
Block a user