Fix #7 tomb's mountpoint persistence

This commit is contained in:
boyska 2011-07-20 01:37:59 +02:00
parent 9c9e33500e
commit 1eb5157b9a

View File

@ -965,6 +965,7 @@ umount_tomb() {
if [ $tombmount ]; then # tomb is actively mounted
func "performing umount of $tombmount"
umount ${tombmount} 2> /dev/null
rm -r ${tombmount}
if ! [ $? = 0 ]; then
error "Tomb is busy, cannot umount!"
fi