fix to close a tomb that is open twice on the same mountpoint

This commit is contained in:
Jaromil 2011-05-23 22:28:22 +02:00
parent a89185843e
commit 2e2fcabb0a

View File

@ -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"