mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
Fix a typo in the new relaxed mirror check (test/lib/check.sh).
This commit is contained in:
parent
f11781c50e
commit
be294072a1
@ -141,7 +141,7 @@ mirror_nonredundant() {
|
||||
lv="$1/$2"
|
||||
lvs -oattr "$lv" | grep -q "^ *m.....$" || {
|
||||
if lvs -oattr "$lv" | grep -q "^ *o.....$" &&
|
||||
lvs -a | fgrep -q "[${lv}_mimage"; then
|
||||
lvs -a | fgrep -q "[${2}_mimage"; then
|
||||
echo "TEST WARNING: $lv is a snapshot origin and looks like a mirror,"
|
||||
echo "assuming it is actually a mirror"
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user