mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
test: return 0 if ignoring 'a' device health chars is requested
This allows lvconvert-raid-reshape-striped_to_linear.sh to succeed when it reduces raid5 to two stripes before converting to raid1 and linear.
This commit is contained in:
parent
f2eda36cfa
commit
70c340dbc2
@ -234,6 +234,7 @@ in_sync() {
|
||||
[ $ignore_a -eq 0 ] && \
|
||||
die "$lvm_name ($type$snap) in-sync, but 'a' characters in health status"
|
||||
echo "$lvm_name ($type$snap) is not in-sync"
|
||||
[ $ignore_a -eq 1 ] && return 0
|
||||
return 1
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user