From 2dcdb807f85057b2f5a71495d0831384355acee7 Mon Sep 17 00:00:00 2001 From: Petr Rockai Date: Wed, 21 Jul 2010 14:12:47 +0000 Subject: [PATCH] Don't fail t-pvcreate-operation-md if mdadm is broken. --- test/t-pvcreate-operation-md.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/t-pvcreate-operation-md.sh b/test/t-pvcreate-operation-md.sh index bd73007ac..c6c02c6c9 100644 --- a/test/t-pvcreate-operation-md.sh +++ b/test/t-pvcreate-operation-md.sh @@ -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 -- 2.43.5