mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-19 19:15:14 +00:00
Fix #7 tomb's mountpoint persistence
This commit is contained in:
parent
9c9e33500e
commit
1eb5157b9a
1
src/tomb
1
src/tomb
@ -965,6 +965,7 @@ umount_tomb() {
|
|||||||
if [ $tombmount ]; then # tomb is actively mounted
|
if [ $tombmount ]; then # tomb is actively mounted
|
||||||
func "performing umount of $tombmount"
|
func "performing umount of $tombmount"
|
||||||
umount ${tombmount} 2> /dev/null
|
umount ${tombmount} 2> /dev/null
|
||||||
|
rm -r ${tombmount}
|
||||||
if ! [ $? = 0 ]; then
|
if ! [ $? = 0 ]; then
|
||||||
error "Tomb is busy, cannot umount!"
|
error "Tomb is busy, cannot umount!"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user