mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
Don't fail t-pvcreate-operation-md if mdadm is broken.
This commit is contained in:
parent
405c4a45d8
commit
65d20c2f32
@ -35,7 +35,7 @@ cleanup_md() {
|
||||
# sleeps offer hack to defeat: 'md: md127 still in use'
|
||||
# see: https://bugzilla.redhat.com/show_bug.cgi?id=509908#c25
|
||||
sleep 2
|
||||
mdadm --stop $mddev
|
||||
mdadm --stop $mddev || true
|
||||
if [ -b "$mddev" ]; then
|
||||
# mdadm doesn't always cleanup the device node
|
||||
sleep 2
|
||||
|
Loading…
Reference in New Issue
Block a user