Add -l option ot unmount

to surpress the "busy" error
This commit is contained in:
Suikan 2021-07-08 23:09:02 +09:00
parent c9b6941294
commit 2ae4d6cd26

View file

@ -315,9 +315,9 @@ function post_install() {
source "lib/chrooted_job_${DISTRIBUTIONSIGNATURE}.sh" source "lib/chrooted_job_${DISTRIBUTIONSIGNATURE}.sh"
HEREDOC HEREDOC
# Unmount all # Unmount all. -l ( lazy ) option is added to supress the busy error.
echo "...Unmounting all." echo "...Unmounting all."
umount -R "${TARGETMOUNTPOINT}" umount -R -l "${TARGETMOUNTPOINT}"
# Finishing message # Finishing message
cat <<- HEREDOC cat <<- HEREDOC