1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-02-28 05:57:49 +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 56fe3c6176
commit 2dcdb807f8

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