1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00

use remove -f

This commit is contained in:
Alasdair Kergon 2011-06-30 09:17:49 +00:00
parent 181b1f9fec
commit e04640b421

View File

@ -117,7 +117,7 @@ teardown_devs() {
dmsetup info -c | grep ^$COMMON_PREFIX
for dm in $STRAY_DEVS ; do
echo dmsetup remove $dm
dmsetup remove $dm || true
dmsetup remove -f $dm || true
done
NUM_REMAINING_DEVS=$NUM_DEVS
done