mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Fix lvmdump metadata gather option (-m) to work correctly. (Jaroslav Stava)
This commit is contained in:
parent
fa69afe329
commit
050f5d8955
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.40 -
|
Version 2.02.40 -
|
||||||
================================
|
================================
|
||||||
|
Fix lvmdump metadata gather option (-m) to work correctly.
|
||||||
Fix allocation bug in text metadata format write error path.
|
Fix allocation bug in text metadata format write error path.
|
||||||
Fix vgcfgbackup to properly check filename if template is used.
|
Fix vgcfgbackup to properly check filename if template is used.
|
||||||
configure aborts if lcov or genhtml are missing with --enable-profiling
|
configure aborts if lcov or genhtml are missing with --enable-profiling
|
||||||
|
@ -206,7 +206,7 @@ if (( $metadata )); then
|
|||||||
|
|
||||||
pvs="$("$LVM" pvs --separator , --noheadings --units s --nosuffix -o \
|
pvs="$("$LVM" pvs --separator , --noheadings --units s --nosuffix -o \
|
||||||
name,pe_start 2>> "$log" | $SED -e 's/^ *//')"
|
name,pe_start 2>> "$log" | $SED -e 's/^ *//')"
|
||||||
for line in "$pvs"
|
for line in $pvs
|
||||||
do
|
do
|
||||||
test -z "$line" && continue
|
test -z "$line" && continue
|
||||||
pv="$(echo $line | $CUT -d, -f1)"
|
pv="$(echo $line | $CUT -d, -f1)"
|
||||||
|
Loading…
Reference in New Issue
Block a user