1
0
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:
Zdenek Kabelac 2011-03-03 12:30:33 +00:00
parent faa6ac9439
commit d75045cfb3

View File

@ -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