better close messages

This commit is contained in:
Jaromil 2011-05-26 18:38:36 +02:00
parent ac0dcd9acc
commit bdef8853d5

View File

@ -739,7 +739,7 @@ umount_tomb() {
return 1
elif [ "$how_many_tombs" = "1" ]; then
#mapper=`find /dev/mapper -name 'tomb.*'`
notice "Closing $tombs"
func "closing mapper $tombs"
umount_tomb ${tombs}
return 1
else
@ -846,7 +846,7 @@ umount_tomb() {
fi
if [ $tombmount ]; then # tomb is actively mounted
act "closing tomb $tombname mounted on $tombmount"
func "performing umount of $tombmount"
umount ${tombmount} 2> /dev/null
if ! [ $? = 0 ]; then
error "Tomb is busy, cannot umount!"