1
0
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:
Petr Rockai 2010-07-21 14:12:47 +00:00
parent 405c4a45d8
commit 65d20c2f32

View File

@ -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