[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[OSSTEST PATCH 39/82] ts-host-reuse: tolerate unremoveable lv



From: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>

It might be a symlink in the pair tests.

Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
 ts-host-reuse | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ts-host-reuse b/ts-host-reuse
index e14a9149..74ac94aa 100755
--- a/ts-host-reuse
+++ b/ts-host-reuse
@@ -112,7 +112,7 @@ ENDI
                 printf 'LV %s...\n' "$dev"
                 if ! test -e $dev; then continue; fi
                 dd if=/dev/urandom bs=1024 count=4096 of=$dev ||:
-                lvremove -f $dev
+                lvremove -f $dev ||:
             done
         done
 ENDQ
-- 
2.20.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.