Fix MBR/msdosfs partition unmount issue.

This commit is contained in:
vermaden 2019-01-11 12:10:28 +01:00
parent ee8ef522e7
commit cf10b9627d
1 changed files with 2 additions and 1 deletions

View File

@ -144,7 +144,7 @@ EOF
if [ "${1}" = "--version" -o "${1}" = "-version" -o "${1}" = "version" ]
then
echo "automount 1.6.0 2018/12/10"
echo "automount 1.6.1 2019/01/11"
exit 0
fi
@ -720,6 +720,7 @@ case ${1} in
unset TARGET
__log "${DEV}: umount"
done
umount -f "${MNTPREFIX}/${1}"
__remove_dir "${MNTPREFIX}/${1}"
__log "${DEV}: mount point '${MNTPREFIX}/${1}' removed"
fi