1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-31 14:50:37 +03:00

Fix lvmdump metadata gather option (-m) to work correctly. (Jaroslav Stava)

This commit is contained in:
Milan Broz 2008-08-28 10:40:44 +00:00
parent 77dc036c8f
commit 7f23ab94e2
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.40 -
================================
Fix lvmdump metadata gather option (-m) to work correctly.
Fix allocation bug in text metadata format write error path.
Fix vgcfgbackup to properly check filename if template is used.
configure aborts if lcov or genhtml are missing with --enable-profiling

View File

@ -206,7 +206,7 @@ if (( $metadata )); then
pvs="$("$LVM" pvs --separator , --noheadings --units s --nosuffix -o \
name,pe_start 2>> "$log" | $SED -e 's/^ *//')"
for line in "$pvs"
for line in $pvs
do
test -z "$line" && continue
pv="$(echo $line | $CUT -d, -f1)"