mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-22 12:35:13 +00:00
fix to close a tomb that is open twice on the same mountpoint
This commit is contained in:
parent
a89185843e
commit
2e2fcabb0a
3
src/tomb
3
src/tomb
@ -763,6 +763,9 @@ umount_tomb() {
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# avoid block when the same tomb is mounted, take only the first
|
||||||
|
for tm in ${(f)tombmount}; do tombmount=${tm}; break; done
|
||||||
|
|
||||||
func "tomb close argument: $1"
|
func "tomb close argument: $1"
|
||||||
func "name:\t$tombname"
|
func "name:\t$tombname"
|
||||||
func "mount:\t$tombmount"
|
func "mount:\t$tombmount"
|
||||||
|
Loading…
Reference in New Issue
Block a user