Update version. Other small fixes.

This commit is contained in:
vermaden 2023-08-23 21:18:39 +02:00
parent 6886a7d75a
commit ce51525a2f
1 changed files with 4 additions and 1 deletions

View File

@ -175,7 +175,7 @@ then
echo " / / // / // // / // \\\ \ \ \\\ \ \\\ \ \\\ \ \\\ \_ " echo " / / // / // // / // \\\ \ \ \\\ \ \\\ \ \\\ \ \\\ \_ "
echo " \_____\\\____/ \__\\\____//__________\\\__\__\__\\\____/ \_____\\\__\__\\\___\ " echo " \_____\\\____/ \__\\\____//__________\\\__\__\__\\\____/ \_____\\\__\__\\\___\ "
echo echo
echo "automount 1.7.9 2022/05/24" echo "automount 1.7.9 2023/08/23"
exit 0 exit 0
fi fi
@ -753,6 +753,7 @@ case ${2} in
continue continue
fi fi
( # put entire umount/find/rm block into background ( # put entire umount/find/rm block into background
# umount(8) two times to make sure its unmounted
umount -f "${TARGET}" 1> /dev/null 2>&1 umount -f "${TARGET}" 1> /dev/null 2>&1
umount -f "${TARGET}" 1> /dev/null 2>&1 umount -f "${TARGET}" 1> /dev/null 2>&1
__log "${DEV}: (state) umount '${TARGET}'" __log "${DEV}: (state) umount '${TARGET}'"
@ -765,6 +766,8 @@ case ${2} in
# code for NICENAMES mounting instead of the /dev/${DEV} default # code for NICENAMES mounting instead of the /dev/${DEV} default
if [ "${NICENAMES}" != YES ] if [ "${NICENAMES}" != YES ]
then then
# umount(8) two times to make sure its unmounted
umount -f "${MNT_PREFIX}/${1}" 1> /dev/null 2>&1
umount -f "${MNT_PREFIX}/${1}" 1> /dev/null 2>&1 umount -f "${MNT_PREFIX}/${1}" 1> /dev/null 2>&1
__log "${DEV}: (direct) umount '${MNT_PREFIX}/${1}'" __log "${DEV}: (direct) umount '${MNT_PREFIX}/${1}'"
__remove_dir "${MNT_PREFIX}/${1}" & __remove_dir "${MNT_PREFIX}/${1}" &