]> sourceware.org Git - lvm2.git/commitdiff
Don't fail t-pvcreate-operation-md if mdadm is broken.
authorPetr Rockai <prockai@redhat.com>
Wed, 21 Jul 2010 14:12:47 +0000 (14:12 +0000)
committerPetr Rockai <prockai@redhat.com>
Wed, 21 Jul 2010 14:12:47 +0000 (14:12 +0000)
test/t-pvcreate-operation-md.sh

index bd73007ac3f63dc0be532366cfa7e8f22c4425a2..c6c02c6c9d6898e373dbffdb61b09950ac17ca9e 100644 (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
This page took 0.042056 seconds and 5 git commands to generate.